/
var
/
www
/
html
/
subscription-test2-cases
/
reports
/
Upload File
HOME
<!doctype html> <html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>Mochawesome Report</title><link rel="stylesheet" href="assets/app.css"/></head><body data-raw="{"stats":{"suites":264,"tests":315,"passes":25,"pending":0,"failures":287,"start":"2022-06-01T03:10:04.665Z","end":"2022-06-01T03:10:04.665Z","duration":6415112,"testsRegistered":315,"passPercent":7.936507936507937,"pendingPercent":0,"other":0,"hasOther":false,"skipped":3,"hasSkipped":true},"results":[{"uuid":"2846d871-8a41-4a16-9255-ad169bcb42c8","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":"158171ca-6aeb-4427-9f55-ead0ade4349b","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":13346,"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":"5de86406-3bdc-4669-960a-9818de89e842","parentUUID":"158171ca-6aeb-4427-9f55-ead0ade4349b","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":4186,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get('.navbar-brand').contains('Dashboard');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.navbar-brand`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.navbar-brand`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/1-login/1-login_spec.js:105:8)","diff":null},"uuid":"caaff194-2b9b-4568-acab-5300a37a03ed","parentUUID":"158171ca-6aeb-4427-9f55-ead0ade4349b","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the Customer Portal I should see \"Welcome <Username>\" ","timedOut":null,"duration":4210,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.contains('Welcome');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Welcome' but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Welcome' but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/1-login/1-login_spec.js:108:8)","diff":null},"uuid":"3b939e72-301e-49ec-af21-5e91654dce72","parentUUID":"158171ca-6aeb-4427-9f55-ead0ade4349b","isHook":false,"skipped":false}],"suites":[],"passes":["5de86406-3bdc-4669-960a-9818de89e842"],"failures":["caaff194-2b9b-4568-acab-5300a37a03ed","3b939e72-301e-49ec-af21-5e91654dce72"],"pending":[],"skipped":[],"duration":21742,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5a64eedb-a491-4518-9e21-996d4dd61ff1","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":"c31216d7-eccf-4660-aef7-3d7811fae470","title":"Subscription","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Subscription - Create Subscription","fullTitle":"Subscription Subscription - Create Subscription","timedOut":null,"duration":16640,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"var totalSub = 0;\nvar totalInv = 0;\ncy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.wait(5000);\ncy.get('.sidebar-wrapper .fa-file-invoice-dollar').click({\n force: true\n});\ncy.get('.subscription-item-container').its('length').then(function (elm) {\n totalInv = elm + 1;\n});\ncy.get('.far.fa-calendar-check').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid*=\"subscription__card-\"]').its('length').then(function (elm) {\n totalSub = elm + 1;\n});\ncy.log(\"totalSub\" + totalSub);\ncy.log(\"totalInv\" + totalInv);\ncy.get('[data-sfuniqueid=\"subscription__actionBtns\"] a.btn.btn-black').click({\n force: true\n});\ncy.checkPortal();\ncy.wait(5000);\ncy.get('.card-title').each(function (element, index) {\n if (element.text().includes('tiered')) {\n cy.get('[data-sfuniqueid=\"subscription__subscriptionType_plan-0\"] .addPlanProductToSubscription').eq(index + 1).click({\n force: true\n });\n return false;\n }\n});\ncy.wait(20000);\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').then(function (elm) {\n expect(elm.length).to.eq(1);\n});\ncy.get('.list-group-item').eq(1).then(function (invAmt) {\n cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] button.btn.btn-danger.m-0').click({\n force: true\n });\n cy.wait(30000); ////////here\n cy.get('[data-sfuniqueid*=\"subscription__card-\"]').its('length').then(function (elm) {\n expect(elm).to.eq(totalSub);\n });\n cy.get('.fa-file-invoice-dollar').click({\n force: true\n });\n cy.get('.subscription-item-container').its('length').then(function (elm) {\n expect(elm).to.eq(totalInv);\n });\n cy.get('.bg-info').first().then(function (amount) {\n expect(invAmt.text()).to.include(amount.text());\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sidebar-wrapper .fa-file-invoice-dollar`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sidebar-wrapper .fa-file-invoice-dollar`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/1-subscription.spec.js:106:8)","diff":null},"uuid":"6fbc785a-8fd4-4695-bf53-162247b165f0","parentUUID":"c31216d7-eccf-4660-aef7-3d7811fae470","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6fbc785a-8fd4-4695-bf53-162247b165f0"],"pending":[],"skipped":[],"duration":16640,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"05abec33-1f2b-4c81-a89d-6dd13f16bc87","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":"fd1cda13-3558-4979-b6a1-c500299607d1","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":15895,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"var list_top;\nvar inv_price;\nvar user_name; //start\ncy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(5000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row').eq(1).find('[class=\"subscription-details-header d-flex flex-row\"] > [class=\"lead\"] > strong').then(function (top) {\n list_top = top.text();\n}); //start original\n// cy.visit(\"/portal/subscriptions\") \ncy.get('.far.fa-calendar-check').click({\n force: true\n});\ncy.wait(10000);\ncy.url().should('include', '/portal/subscriptions');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(30000);\nvar selected_plan = 0;\nvar updatedSelected_plan = 0;\nvar totalBefore = 0;\nvar totalAfter = 0;\ncy.wait(5000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalBefore = +normalVal;\n});\ncy.get('[data-sfuniqueid=\"subscription__card-0\"] .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns a.btn.btn-black.m-0').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.navbar-brand').contains('Upgrade / Downgrade Subscription');\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').then(function (elm) {\n selected_plan = elm.length;\n}); //start\ncy.get('.card-title').each(function (element, index) {\n if (element.text().includes('Volume')) {\n cy.get('[class=\"card-footer text-center\"] .row .col .lead').eq(index + 1).then(function (price) {\n inv_price = price.text().split(' ');\n inv_price = inv_price[1];\n cy.log(inv_price);\n });\n cy.get('.addPlanProductToSubscription').eq(index + 1).click({\n force: true\n });\n return false;\n }\n});\ncy.wait(12000);\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').then(function (elm) {\n updatedSelected_plan = elm.length;\n});\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').its('length').then(function () {\n expect(updatedSelected_plan).to.not.eq(selected_plan);\n}).then(function () {\n cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .btn-danger').click({\n force: true\n });\n cy.wait(7000);\n});\ncy.get('.far.fa-calendar-check').click({\n force: true\n});\ncy.wait(10000);\ncy.url().should('include', '/portal/subscriptions');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(20000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalAfter = +normalVal;\n expect(totalAfter).to.gt(totalBefore);\n}); //start\ncy.get('.fas.fa-file-invoice-dollar').click({\n force: true\n});\ncy.wait(10000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row').eq(1).find('[class=\"subscription-details-header d-flex flex-row\"] > [class=\"lead\"] > strong').then(function (top1) {\n expect(list_top).to.not.equal(top1);\n});\ncy.get('[class=\"list-group-item d-flex flex-row justify-content-between\"] [class=\"bg-info text-white p-1\"] strong').first().then(function (price2) {\n expect(inv_price).to.equal(price2.text());\n});\ncy.get('[class=\"navbar-nav head-nav-right\"] [class=\"nav-item\"] p strong').then(function (name) {\n user_name = name.text();\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/2-subscription-upgrade.spec.js:108:14)","diff":null},"uuid":"687645dd-1143-4e1d-b752-75d494af80bf","parentUUID":"fd1cda13-3558-4979-b6a1-c500299607d1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["687645dd-1143-4e1d-b752-75d494af80bf"],"pending":[],"skipped":[],"duration":15895,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6adbe068-3d54-4966-a0fc-8828ce452507","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":"34bdafea-b1f5-44a9-96ef-f51ed9905ae0","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":12407,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.url().should('include', '/portal/subscriptions');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\nvar totalBefore = 0;\nvar totalAfter = 0;\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalBefore = +normalVal;\n cy.get('[data-sfuniqueid=\"subscription__card-0\"] .subscription-item-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.actionBtns a.btn.btn-black.m-0').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.navbar-brand').contains('Upgrade / Downgrade Subscription');\n cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row .btn-black').each(function ($el) {\n cy.get($el).click({\n force: true\n });\n });\n cy.wait(18000);\n var priceBefore = 0;\n cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .list-group .list-group-item .lead').each(function (price) {\n price = price.text().split('.');\n var price1 = price[0].replace(/\\D/g, \"\");\n price1 = parseInt(price1);\n priceBefore = priceBefore + price1;\n cy.log(priceBefore);\n });\n cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row .btn-black').each(function (elm) {\n expect(elm.text().trim()).to.eq('removed');\n });\n var sum = 0;\n var amount = 0;\n cy.get('.card-footer .lead').each(function ($el, index) {\n amount = $el;\n amount = amount.text().replace(/\\D/g, \"\");\n amount /= 100;\n if (parseInt(amount) < parseInt(totalBefore / 12)) {\n cy.get('.addPlanProductToSubscription').eq(index).click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').its('length').then(function () {\n cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .btn-danger').click({\n force: true\n });\n cy.wait(7000);\n });\n cy.get('.far.fa-calendar-check').click({\n force: true\n });\n cy.wait(10000);\n cy.url().should('include', '/portal/subscriptions');\n cy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n });\n cy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n });\n cy.wait(15000);\n cy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalAfter = +normalVal;\n expect(totalAfter).to.lt(totalBefore);\n });\n cy.get('.fa-hand-holding-usd').click();\n cy.get('tr td').eq(1).then(function (price) {\n price = price.text().split('.');\n var price2 = price[0].replace(/\\D/g, \"\");\n price2 = parseInt(price2);\n expect(price2).to.eq(priceBefore);\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/subscriptions'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/subscriptions'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/3-subscription-downgrade.spec.js:103:14)","diff":null},"uuid":"7bf67755-b170-41cd-8a5e-563fbd2a4e61","parentUUID":"34bdafea-b1f5-44a9-96ef-f51ed9905ae0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7bf67755-b170-41cd-8a5e-563fbd2a4e61"],"pending":[],"skipped":[],"duration":12407,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"43806a87-82d9-4b0b-920e-0f8500cbd5f6","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":"b23ac19f-63a5-4544-aa9e-304e356a822b","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":15506,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.wait(5000);\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"] .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns button.btn.btn-warning.m-0').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#suspendSubscriptionModal').should('have.class', 'show');\ncy.wait(5000);\ncy.get('#suspendSubscriptionModal button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.actionBtns button.btn.btn-success.m-0').then(function (elm) {\n expect(elm.text().trim()).to.eq('Resume');\n});\ncy.get('span.ml-2.badge.badge-status-suspended').then(function (elm) {\n expect(elm.text().trim()).to.eq('Suspended');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from element: <div.row>","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from element: <div.row>\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/4-subscription-suspend.spec.js:104:51)","diff":null},"uuid":"79d6f45b-1a6e-4054-8aca-5033a2e94659","parentUUID":"b23ac19f-63a5-4544-aa9e-304e356a822b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["79d6f45b-1a6e-4054-8aca-5033a2e94659"],"pending":[],"skipped":[],"duration":15506,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a4657598-ea37-4349-be78-373b8872bfd2","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":"a5dbb083-d2e5-496b-9831-5bfc8b042f13","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":15460,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.wait(5000);\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Suspended', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"] .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns button.btn.btn-success.m-0').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#resumeSubscriptionModal').should('have.class', 'show');\ncy.wait(5000);\ncy.get('#resumeSubscriptionModal button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.actionBtns .btn.btn-warning').then(function (elm) {\n expect(elm.text().trim()).to.eq('Suspend');\n});\ncy.get('span.ml-2.badge.badge-status-active').then(function (elm) {\n expect(elm.text().trim()).to.eq('Active');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from element: <div.row>","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from element: <div.row>\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/5-subscription-resume.spec.js:104:51)","diff":null},"uuid":"625e4c88-f8c5-4914-a09e-14a5dce3ea40","parentUUID":"a5dbb083-d2e5-496b-9831-5bfc8b042f13","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["625e4c88-f8c5-4914-a09e-14a5dce3ea40"],"pending":[],"skipped":[],"duration":15460,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3fb9fe0b-51e1-44c3-8246-cbd17d8409c1","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":"b1a3ada1-511c-4304-9c76-b465a9c22bb7","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":13025,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"] .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns button.btn.btn-danger.m-0').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#cancelSubscriptionModal').should('have.class', 'show');\ncy.wait(5000);\ncy.get('#cancelSubscriptionModal button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('span.ml-2.badge.badge-status-cancelled').then(function (elm) {\n expect(elm.text().trim()).to.eq('Cancelled');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from element: <div.row>","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from element: <div.row>\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/6-subscription-cancel.spec.js:103:51)","diff":null},"uuid":"56c76978-5bed-498e-b777-8b11b6bcaf9a","parentUUID":"b1a3ada1-511c-4304-9c76-b465a9c22bb7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["56c76978-5bed-498e-b777-8b11b6bcaf9a"],"pending":[],"skipped":[],"duration":13025,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e89c6176-34d1-4ccf-a837-8e286c2e1f21","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":"c134f24e-36dd-4d6b-ad21-4b3b8edcfd62","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":10634,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.url().should('include', '/portal/subscriptions');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(15000);\nvar totalBefore = 0;\nvar totalAfter = 0;\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal1 = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalBefore = +normalVal1;\n});\ncy.get('[data-sfuniqueid=\"subscription__card-0\"] .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.actionBtns a.btn.btn-black.m-0').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.navbar-brand').contains('Upgrade / Downgrade Subscription');\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').each(function ($el, index, $list) {\n $el.find('.btn-black').click();\n});\ncy.wait(12000);\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .subscription-details-header .actionBtns .btn-black').should('contain', 'removed'); // cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').each(($el, index, $list) => {\n// expect($el.find('.btn-black').text().trim()).to.eq('removed')\n// })\ncy.get('.row > .col-4:first-child button.addPlanProductToSubscription').click({\n force: true\n});\ncy.wait(12000);\ncy.get('.row > .col-4:last-child button.addPlanProductToSubscription').click({\n force: true\n});\ncy.wait(12000);\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').its('length').then(function () {\n cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .btn-danger').click({\n force: true\n });\n cy.wait(10000);\n});\ncy.get('.far.fa-calendar-check').click({\n force: true\n});\ncy.wait(10000);\ncy.url().should('include', '/portal/subscriptions');\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalAfter = +normalVal;\n expect(totalAfter).to.not.eq(totalBefore);\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/subscriptions'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/subscriptions'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/7-subscription-change-plan.spec.js:103:14)","diff":null},"uuid":"6de23695-8a26-450e-a733-678aafda43fd","parentUUID":"c134f24e-36dd-4d6b-ad21-4b3b8edcfd62","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6de23695-8a26-450e-a733-678aafda43fd"],"pending":[],"skipped":[],"duration":10634,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0f5c60a5-3b7c-4804-8cf2-cfe27303f0e9","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":"ef216e60-bd6b-4793-99cf-d28d30d5b67e","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":13459,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Due', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(15000);\ncy.get('body').then(function ($body) {\n if ($body.find('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').length) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Due');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js:104:14)","diff":null},"uuid":"bbaa2da2-51ad-4be6-ad04-f9e11f8bc597","parentUUID":"ef216e60-bd6b-4793-99cf-d28d30d5b67e","isHook":false,"skipped":false},{"title":"Invoice - Overdue Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Overdue Filter","timedOut":null,"duration":13383,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Overdue', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(20000);\ncy.get('body').then(function ($body) {\n if ($body.find('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').length) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Overdue');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js:124:14)","diff":null},"uuid":"33a6e27b-40e2-479b-99d3-9a7d01be073f","parentUUID":"ef216e60-bd6b-4793-99cf-d28d30d5b67e","isHook":false,"skipped":false},{"title":"Invoice - Partially Paid Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Partially Paid Filter","timedOut":null,"duration":13106,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Partially Paid', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(15000);\ncy.get('body').then(function ($body) {\n if ($body.find('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').length) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Partially Paid');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js:144:14)","diff":null},"uuid":"82c67cad-d59b-4789-b8b1-34d92a5e10c1","parentUUID":"ef216e60-bd6b-4793-99cf-d28d30d5b67e","isHook":false,"skipped":false},{"title":"Invoice - Paid Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Paid Filter","timedOut":null,"duration":16777,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Paid', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(25000);\ncy.get('body').then(function ($body) {\n if ($body.find('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').length) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Paid');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js:164:14)","diff":null},"uuid":"9d8e7690-e78b-437e-bb23-2036cb38f683","parentUUID":"ef216e60-bd6b-4793-99cf-d28d30d5b67e","isHook":false,"skipped":false},{"title":"Invoice - Bounced Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Bounced Filter","timedOut":null,"duration":12959,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Bounced', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(15000);\ncy.get('body').then(function ($body) {\n if ($body.find('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').length) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Bounced');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js:184:14)","diff":null},"uuid":"1f56cca5-7858-4133-859f-cb6c615bab1c","parentUUID":"ef216e60-bd6b-4793-99cf-d28d30d5b67e","isHook":false,"skipped":false},{"title":"Invoice - Void Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Void Filter","timedOut":null,"duration":13443,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Void', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(25000);\ncy.get('body').then(function ($body) {\n if ($body.find('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').length) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Void');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js:204:14)","diff":null},"uuid":"74e9a97e-aa3e-43d8-95ce-97bee1cd33ac","parentUUID":"ef216e60-bd6b-4793-99cf-d28d30d5b67e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bbaa2da2-51ad-4be6-ad04-f9e11f8bc597","33a6e27b-40e2-479b-99d3-9a7d01be073f","82c67cad-d59b-4789-b8b1-34d92a5e10c1","9d8e7690-e78b-437e-bb23-2036cb38f683","1f56cca5-7858-4133-859f-cb6c615bab1c","74e9a97e-aa3e-43d8-95ce-97bee1cd33ac"],"pending":[],"skipped":[],"duration":83127,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fcb0730a-6e7e-4781-9218-1f9e6e1bed70","title":"","fullFile":"cypress/integration/p-portal/3-invoice/01-invoice-make-payment.spec.js","file":"cypress/integration/p-portal/3-invoice/01-invoice-make-payment.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"855ae67b-7fce-4a95-a770-7e1f51cc433e","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":63462,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(5000);\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.wait(5000);\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/01-invoice-make-payment.spec.js:150:10)","diff":null},"uuid":"bfc44a02-d1d9-4f60-91f9-5054830e9ed1","parentUUID":"855ae67b-7fce-4a95-a770-7e1f51cc433e","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":18235,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/01-invoice-make-payment.spec.js:240:12)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/01-invoice-make-payment.spec.js:178:5)","diff":null},"uuid":"6eb21d1d-2d3d-4b1c-8525-6bf619f2194f","parentUUID":"855ae67b-7fce-4a95-a770-7e1f51cc433e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bfc44a02-d1d9-4f60-91f9-5054830e9ed1","6eb21d1d-2d3d-4b1c-8525-6bf619f2194f"],"pending":[],"skipped":[],"duration":81697,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"989b2500-6c5a-4937-87e9-abf21c551ba9","title":"","fullFile":"cypress/integration/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js","file":"cypress/integration/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"644fb576-c0d7-4e10-bc3b-81465d7e654b","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":55722,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(5000);\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js:148:10)","diff":null},"uuid":"372bdfdf-7955-46ec-bef3-f59573868fc2","parentUUID":"644fb576-c0d7-4e10-bc3b-81465d7e654b","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":16605,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js:263:12)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js:175:5)","diff":null},"uuid":"c1cddf41-4cde-4b0e-aa6d-1a0902aefb79","parentUUID":"644fb576-c0d7-4e10-bc3b-81465d7e654b","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Credit Card using Stripe (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":13156,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Due', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000); // Checking if second child \"row\" is found\ncy.get('[class=\"content\"] [class=\"container-fluid\"]').then(function (element) {\n if (element.find('.row').eq(1).length > 0) {\n //\"Due\" invoices are found\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Due');\n });\n } else {\n //goes back to filter to check for overdue invoices if there are no due invoices\n cy.get('.container-fluid > .row:first-child').find('select.form-control').select('Overdue', {\n force: true\n });\n cy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n });\n cy.wait(10000);\n cy.get('[class=\"content\"] [class=\"container-fluid\"]').then(function (element) {\n if (element.find('.row').eq(1).length > 0) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Overdue');\n });\n cy.log(\"adukhajksdhkajsdhkajsdhkajshdkjashkdajshdkja\");\n } else {\n //goes back to filter to check for Partially Paid invoices if there are no overdue invoices\n cy.get('.container-fluid > .row:first-child').find('select.form-control').select('Partially Paid', {\n force: true\n });\n cy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Partially Paid');\n });\n }\n });\n }\n}); //click the first found invoice\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns #showInvoicePaymentModal').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#invoicePaymentModal').should('have.class', 'show');\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.lead').contains('is charged against Invoice').should('be.visible');\ncy.get('#invoicePaymentModal a.btn.btn-primary.closeInvociePaymentPopup').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#subscription-single-header span.ml-2.badge').should('have.class', 'badge-status-paid').then(function (elm) {\n expect(elm.text()).to.eq(\"Paid\");\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js:182:14)","diff":null},"uuid":"57bdb96a-b037-4ec5-8617-964b821e3dc2","parentUUID":"644fb576-c0d7-4e10-bc3b-81465d7e654b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["372bdfdf-7955-46ec-bef3-f59573868fc2","c1cddf41-4cde-4b0e-aa6d-1a0902aefb79","57bdb96a-b037-4ec5-8617-964b821e3dc2"],"pending":[],"skipped":[],"duration":85483,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b7ebd77b-f77b-46c7-a56a-3c8ec60afd66","title":"","fullFile":"cypress/integration/p-portal/3-invoice/03-invoice-make-payment-using-unapplied-amount.spec.js","file":"cypress/integration/p-portal/3-invoice/03-invoice-make-payment-using-unapplied-amount.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"03b9f89a-15c9-490c-b0d6-2db2c87764c2","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":14264,"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 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/03-invoice-make-payment-using-unapplied-amount.spec.js:106:14)","diff":null},"uuid":"e4ed0790-32fb-4885-a214-d69bb388c278","parentUUID":"03b9f89a-15c9-490c-b0d6-2db2c87764c2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e4ed0790-32fb-4885-a214-d69bb388c278"],"pending":[],"skipped":[],"duration":14264,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"35ad3703-e232-4a25-a2a0-66141b0d472e","title":"","fullFile":"cypress/integration/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js","file":"cypress/integration/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"1a516727-ab50-44d4-81b6-853895cb3b2e","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":63872,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); //Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(10000);\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:149:10)","diff":null},"uuid":"43197b13-9384-4079-9d9a-a6cf3090e55c","parentUUID":"1a516727-ab50-44d4-81b6-853895cb3b2e","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":19498,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:222:12)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:177:5)","diff":null},"uuid":"77026dcc-6faa-4a58-a33d-7a8d6604a65b","parentUUID":"1a516727-ab50-44d4-81b6-853895cb3b2e","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with credit card using AuthorizeNet (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":12893,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices').then(function () {\n if (typeof selectInvoice() !== 'undefined') {\n createSubscription();\n }\n});\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns #showInvoicePaymentModal').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#invoicePaymentModal').should('have.class', 'show');\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.modal-content.modal-content-set .lead').contains('is charged against Invoice').should('be.visible');\ncy.get('#invoicePaymentModal a.btn.btn-primary.closeInvociePaymentPopup').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#subscription-single-header span.ml-2.badge').should('have.class', 'badge-status-paid').then(function (elm) {\n expect(elm.text()).to.eq(\"Paid\");\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:183:14)","diff":null},"uuid":"6571c95c-ae88-43d7-bc33-e9d5d12b5df4","parentUUID":"1a516727-ab50-44d4-81b6-853895cb3b2e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["43197b13-9384-4079-9d9a-a6cf3090e55c","77026dcc-6faa-4a58-a33d-7a8d6604a65b","6571c95c-ae88-43d7-bc33-e9d5d12b5df4"],"pending":[],"skipped":[],"duration":96263,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"96899e93-b6be-411c-9a3b-a76946fb30d7","title":"","fullFile":"cypress/integration/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js","file":"cypress/integration/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e6df06ad-41d7-47f0-b53d-e4ca3a33abe9","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":52131,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js:148:10)","diff":null},"uuid":"e0047fe8-7b3a-4409-8ded-c31934f934a1","parentUUID":"e6df06ad-41d7-47f0-b53d-e4ca3a33abe9","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":16410,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js:241:12)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js:175:5)","diff":null},"uuid":"0bc9eee0-b66c-4bd6-aee9-2fd3dcfd4b5e","parentUUID":"e6df06ad-41d7-47f0-b53d-e4ca3a33abe9","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with ACH using AuthorizeNet (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":13345,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices').then(function () {\n if (typeof selectInvoice() !== 'undefined') {\n createSubscription();\n }\n});\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('#subscription-single-header span.ml-2.badge').then(function (status) {\n cy.log('text status: ' + status.text());\n cy.get('.basic-information .table tbody tr').eq(6).then(function (outstandingAmount) {\n var el = outstandingAmount.text().replace(/[^0-9]+/g, \"\");\n el = parseInt(el);\n el = el / 100;\n cy.get('.actionBtns #showInvoicePaymentModal').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#invoicePaymentModal').should('have.class', 'show');\n cy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n });\n cy.wait(5000);\n if (el > 100) {\n cy.get('.lead').contains('We are unable to process your payment.').should('be.visible');\n cy.get('#invoicePaymentModal a.btn.btn-primary.closeInvociePaymentPopup').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#subscription-single-header span.ml-2.badge').then(function (elm) {\n expect(elm.text()).to.eq(status.text());\n });\n } else {\n cy.get('.lead').should('contain', 'is charged against Invoice');\n cy.get('.lead').contains('is charged against Invoice').should('be.visible');\n cy.get('#invoicePaymentModal a.btn.btn-primary.closeInvociePaymentPopup').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#subscription-single-header span.ml-2.badge').should('have.class', 'badge-status-paid').then(function (elm) {\n expect(elm.text()).to.eq(\"Paid\");\n });\n }\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js:181:14)","diff":null},"uuid":"ba6e5758-53cc-4993-aa18-e68aad9c172b","parentUUID":"e6df06ad-41d7-47f0-b53d-e4ca3a33abe9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e0047fe8-7b3a-4409-8ded-c31934f934a1","0bc9eee0-b66c-4bd6-aee9-2fd3dcfd4b5e","ba6e5758-53cc-4993-aa18-e68aad9c172b"],"pending":[],"skipped":[],"duration":81886,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"27123d9a-590f-417d-b2dd-c09b07742adc","title":"","fullFile":"cypress/integration/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js","file":"cypress/integration/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"57194b1f-5a0f-4fc8-886a-22fa8b05a3f5","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":63236,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-paypal.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:148:10)","diff":null},"uuid":"26790329-88f2-454e-a2c7-d84400bb88e6","parentUUID":"57194b1f-5a0f-4fc8-886a-22fa8b05a3f5","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":26534,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:273:12)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:176:5)","diff":null},"uuid":"d55d01ef-c976-4b09-bad8-55017e13f1d4","parentUUID":"57194b1f-5a0f-4fc8-886a-22fa8b05a3f5","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Paypal Express Checkout Approve (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":13051,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices').then(function () {\n if (typeof selectInvoice() !== 'undefined') {\n createSubscription();\n }\n});\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container').click({\n force: true\n});\ncy.wait(8000);\ncy.checkPortal();\ncy.get('.actionBtns #showInvoicePaymentModal').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#invoicePaymentModal').should('have.class', 'show');\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(10000);\nif (cy.url().should('contain', 'sandbox.paypal')) {\n cy.visit('/en/customers');\n cy.visit('/en/customers');\n cy.check();\n cy.visit('/en/customers');\n cy.wait(10000);\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('#related-table-transaction #relatedViewTableEl tr [data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n });\n cy.get('.text-right > .btn-group > .btn').click({\n force: true\n });\n cy.get('[data-target=\"#approve-modal\"]').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.btn.btn-warning').contains('Approve').click({\n force: true\n });\n cy.wait(20000); // cy.get('#approve-form > .modal-content > .modal-footer > .btn-create').click({force:true})\n // cy.wait(5000)\n // cy.get('#related-table-transaction #relatedViewTableEl tr [data-sfuniqueid=\"dataTable__table-td-6\"]').then(status => {\n // var payStatus = status.text().trim()\n // expect(payStatus).to.eq('Paid')\n // })\n // cy.get('#relatedList-bulk-action-Invoice_Customer > #example1 > tbody > :nth-child(1) > :nth-child(7)').then(status => {\n // var payStatus = status.text().trim()\n // expect(payStatus).to.eq('Paid')\n // })\n var x;\n cy.get('#relatedList-bulk-action-Transaction_Customer th').each(function (heading, index) {\n if (heading.text().includes('dataTable__table-th-status')) {\n x = 'dataTable__table-td-' + index;\n cy.get(x).first().then(function (element) {\n expect(element.text()).to.eq('Paid');\n });\n }\n });\n var y;\n cy.get('#relatedList-bulk-action-Invoice_Customer th').each(function (heading, index) {\n if (heading.text().includes('dataTable__table-th-status')) {\n y = 'dataTable__table-td-' + index;\n cy.get(y).first().then(function (element) {\n expect(element.text()).to.eq('Paid');\n });\n }\n });\n}","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:182:14)","diff":null},"uuid":"865b08b9-e558-4870-a0af-b92ee8d81101","parentUUID":"57194b1f-5a0f-4fc8-886a-22fa8b05a3f5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["26790329-88f2-454e-a2c7-d84400bb88e6","d55d01ef-c976-4b09-bad8-55017e13f1d4","865b08b9-e558-4870-a0af-b92ee8d81101"],"pending":[],"skipped":[],"duration":102821,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fa276f88-8266-4f34-8d99-b53adef03b28","title":"","fullFile":"cypress/integration/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js","file":"cypress/integration/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"65569309-f6e9-4b7f-baea-5ff79b6995fc","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":54929,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-paypal.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:148:10)","diff":null},"uuid":"f2c69340-e690-4a95-ab27-146d35d27810","parentUUID":"65569309-f6e9-4b7f-baea-5ff79b6995fc","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":16250,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:250:12)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:176:5)","diff":null},"uuid":"f9046f20-296e-4083-a6b4-bc713dfdcf60","parentUUID":"65569309-f6e9-4b7f-baea-5ff79b6995fc","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Paypal Express Checkout Decline (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":15447,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices').then(function () {\n if (typeof selectInvoice() !== 'undefined') {\n createSubscription();\n }\n});\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container').click({\n force: true\n});\ncy.wait(8000);\ncy.checkPortal();\ncy.get('.actionBtns #showInvoicePaymentModal').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#invoicePaymentModal').should('have.class', 'show');\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(20000);\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(15000);\nif (cy.url().should('contain', 'sandbox.paypal')) {\n cy.visit('/en/customers');\n cy.visit('/en/customers');\n cy.check();\n cy.wait(10000);\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().click({\n force: true\n });\n });\n cy.wait(6000);\n cy.get('#relatedList-bulk-action-Transaction_Customer tr td a').first().click({\n force: true\n });\n cy.get('.text-right > .btn-group > .btn').click({\n force: true\n });\n cy.get('[data-target=\"#decline-modal\"]').click({\n force: true\n });\n cy.get('#decline_reason').type('Declined');\n cy.get('#decline-form > .modal-content > .modal-footer > .btn-warning').click();\n var x;\n cy.get('#relatedList-bulk-action-Transaction_Customer th').each(function (heading, index) {\n if (heading.text().includes('dataTable__table-th-status')) {\n x = 'dataTable__table-td-' + index;\n cy.get(x).first().then(function (element) {\n expect(element.text()).to.eq('Declined');\n });\n }\n });\n}","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:183:14)","diff":null},"uuid":"05eacddc-99bd-466e-baca-ac5f45532250","parentUUID":"65569309-f6e9-4b7f-baea-5ff79b6995fc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f2c69340-e690-4a95-ab27-146d35d27810","f9046f20-296e-4083-a6b4-bc713dfdcf60","05eacddc-99bd-466e-baca-ac5f45532250"],"pending":[],"skipped":[],"duration":86626,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0dcd6983-c73f-4296-a1b5-09eaa08183ef","title":"","fullFile":"cypress/integration/p-portal/3-invoice/08-allocate-credits-using-portal.spec.js","file":"cypress/integration/p-portal/3-invoice/08-allocate-credits-using-portal.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"00c57b01-3d0c-48b9-b215-2173d6da644a","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":23090,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"createOrder();\ncy.visit(\"/portal/dashboard\");\ncy.checkPortal();\ncy.wait(5000);\ncy.get('.sidebar-wrapper i.fas.fa-hand-holding-usd').click({\n force: true\n});\ncy.url().should('include', '/portal/credits');\ncy.checkPortal();\ncy.get('.card-title').contains('All Credits');\ncy.get('.container-fluid .card-body').then(function (element) {\n if (element.find('.lead').text().includes('You do not have any credits.')) {\n expect(element.text()).includes('You do not have any credits.');\n allocateCredits();\n } else {\n checkVerify();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at createOrder (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/08-allocate-credits-using-portal.spec.js:180:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/08-allocate-credits-using-portal.spec.js:104:5)","diff":null},"uuid":"9e045c25-4da5-4ea6-836c-d3ed6f66f0a2","parentUUID":"00c57b01-3d0c-48b9-b215-2173d6da644a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9e045c25-4da5-4ea6-836c-d3ed6f66f0a2"],"pending":[],"skipped":[],"duration":23090,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9edc09cf-77d4-4f6e-a0ae-59d0d581b6ad","title":"","fullFile":"cypress/integration/p-portal/3-invoice/09-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js","file":"cypress/integration/p-portal/3-invoice/09-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b2a346b8-223e-4e3e-8c06-7b89947427d8","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":33661,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"allocateCredits();","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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/09-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js:168:8)","diff":null},"uuid":"eb747dbb-ac0a-4732-87e9-d62ec13e601f","parentUUID":"b2a346b8-223e-4e3e-8c06-7b89947427d8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["eb747dbb-ac0a-4732-87e9-d62ec13e601f"],"pending":[],"skipped":[],"duration":33661,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"144999c0-ef54-43ab-893c-dee2f0361820","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":"f979cba4-6c04-4b3b-9b5e-5cf79a9b7c5a","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":33611,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"allocateCredits();","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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/10-Allocate_credits_when_allocated_amount_is_greater_than_credit_note_balance_using_PortalFlow.spec.js:170:8)","diff":null},"uuid":"d2585138-4b2d-4bd5-b95e-7ad42264cf7a","parentUUID":"f979cba4-6c04-4b3b-9b5e-5cf79a9b7c5a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d2585138-4b2d-4bd5-b95e-7ad42264cf7a"],"pending":[],"skipped":[],"duration":33611,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b0f66654-3c89-42ea-a5e9-bbb9d5a76025","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":"d6ebc09e-40ad-431d-bf7b-c2f566c91d58","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":23035,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"allocateCredits();","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at allocateCredits (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/11-Allocate_credits_when_allocated_amount_is_equal_to_credit_note_balance_using_PortalFlow.spec.js:163:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/11-Allocate_credits_when_allocated_amount_is_equal_to_credit_note_balance_using_PortalFlow.spec.js:104:5)","diff":null},"uuid":"20a8c652-ee4a-4a97-9a56-eaffe240d9f3","parentUUID":"d6ebc09e-40ad-431d-bf7b-c2f566c91d58","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["20a8c652-ee4a-4a97-9a56-eaffe240d9f3"],"pending":[],"skipped":[],"duration":23035,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"607b0fd8-ed05-4652-bfac-b701ac917189","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":"72ba47cc-e4c7-4e08-96ca-682e31b30608","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":33730,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"allocateCredits();","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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/12-credit-notes-using-portal.spec.js:167:8)","diff":null},"uuid":"e3730713-22de-4c95-b131-6641b54c1744","parentUUID":"72ba47cc-e4c7-4e08-96ca-682e31b30608","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e3730713-22de-4c95-b131-6641b54c1744"],"pending":[],"skipped":[],"duration":33730,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1d842683-4274-441e-b8d8-f7dfdbe4b7a0","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":"a5cb1e3b-fc77-4816-bd43-69b459707804","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":58088,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.wait(5000);\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(7000);\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:149:10)","diff":null},"uuid":"c15218bd-7d96-4af1-8bf8-00c6506d5c2a","parentUUID":"a5cb1e3b-fc77-4816-bd43-69b459707804","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":16116,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:211:12)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:177:5)","diff":null},"uuid":"9253f102-4db3-4948-be0f-fb480936c04a","parentUUID":"a5cb1e3b-fc77-4816-bd43-69b459707804","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":25104,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-PaymentMethod_Customer a.btn').contains('Verify').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#amount1-input').type('32');\ncy.get('#amount2-input').type('45');\ncy.get('#verify_button').click({\n force: true\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:183:8)","diff":null},"uuid":"cf9cfade-1d32-43f5-89a2-fbe52babc305","parentUUID":"a5cb1e3b-fc77-4816-bd43-69b459707804","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c15218bd-7d96-4af1-8bf8-00c6506d5c2a","9253f102-4db3-4948-be0f-fb480936c04a","cf9cfade-1d32-43f5-89a2-fbe52babc305"],"pending":[],"skipped":[],"duration":99308,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fe5cee43-9c8f-469b-a68c-b9f39e32de47","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":"3ba7dd96-cd4d-4f85-82fe-c7bda2131d90","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":57733,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"// cy.get('.col-4 .btn.btn-danger').click({force:true})\n// Default Payment\ncy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.wait(5000);\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js:151:10)","diff":null},"uuid":"798ca0c5-ae04-455c-a21b-dd1f1914e1d4","parentUUID":"3ba7dd96-cd4d-4f85-82fe-c7bda2131d90","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":16031,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js:187:12)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js:178:5)","diff":null},"uuid":"7b7df5b5-925b-47c8-a2a1-9d64a7da7f26","parentUUID":"3ba7dd96-cd4d-4f85-82fe-c7bda2131d90","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["798ca0c5-ae04-455c-a21b-dd1f1914e1d4","7b7df5b5-925b-47c8-a2a1-9d64a7da7f26"],"pending":[],"skipped":[],"duration":73764,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"be402506-fc0b-41c3-8db2-e5cff276d27f","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":"e358df78-d432-44c1-8822-c7f3b8177c09","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":57643,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.wait(5000);\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n });\n});\ncy.get('.related-list').trigger('mouseover');\ncy.get('.ml-auto.show-cog.test-pull-right.cursor_p .fa-cog').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#relatedModule_rightAll').click({\n force: true\n});\ncy.get('#related_module_list > .modal-footer > .btn-warning').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js:149:10)","diff":null},"uuid":"fc310b7f-9d74-4c34-a268-78ebe679ffb6","parentUUID":"e358df78-d432-44c1-8822-c7f3b8177c09","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":16686,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js:197:12)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js:188:5)","diff":null},"uuid":"136539a3-e096-4d2f-a7f9-b771bf3fd671","parentUUID":"e358df78-d432-44c1-8822-c7f3b8177c09","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fc310b7f-9d74-4c34-a268-78ebe679ffb6","136539a3-e096-4d2f-a7f9-b771bf3fd671"],"pending":[],"skipped":[],"duration":74329,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e3aecd7b-0b3b-4004-b815-b6d37cf6fb74","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":"851ff575-ce8e-4abd-aef1-1cf644740dec","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":72068,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"// Default Payment\ncy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.wait(5000);\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js:150:10)","diff":null},"uuid":"5398f007-7593-46e5-a4d3-58ca968428a4","parentUUID":"851ff575-ce8e-4abd-aef1-1cf644740dec","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":16600,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js:186:12)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js:177:5)","diff":null},"uuid":"459db99f-2f81-4777-9766-70fcb5098681","parentUUID":"851ff575-ce8e-4abd-aef1-1cf644740dec","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5398f007-7593-46e5-a4d3-58ca968428a4","459db99f-2f81-4777-9766-70fcb5098681"],"pending":[],"skipped":[],"duration":88668,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d30fdcfa-345c-4978-91fd-96cc16120b5e","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":"b6f34404-8b14-4308-80c9-472ccb3633cf","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":57115,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"// Default Payment\ncy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.wait(5000);\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js:150:10)","diff":null},"uuid":"88457de6-1552-4702-b199-981d8654a69a","parentUUID":"b6f34404-8b14-4308-80c9-472ccb3633cf","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":15921,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js:186:12)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js:177:5)","diff":null},"uuid":"d72ea3f0-ebad-4be4-a101-bdb0b08811dc","parentUUID":"b6f34404-8b14-4308-80c9-472ccb3633cf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["88457de6-1552-4702-b199-981d8654a69a","d72ea3f0-ebad-4be4-a101-bdb0b08811dc"],"pending":[],"skipped":[],"duration":73036,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"72f09c02-55d9-4305-ac09-259184e9cf66","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":"3dd2ff76-f995-44bc-a8a3-b1aa0f42f863","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":66844,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"// Default Payment\ncy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.wait(5000);\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-paypal.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000);\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js:151:10)","diff":null},"uuid":"8cf98802-f68a-4d39-bb8e-7b3b3af4bcbd","parentUUID":"3dd2ff76-f995-44bc-a8a3-b1aa0f42f863","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":24339,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js:187:12)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js:178:5)","diff":null},"uuid":"2d3569f4-96cf-42ae-8825-65ec09fa43e3","parentUUID":"3dd2ff76-f995-44bc-a8a3-b1aa0f42f863","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8cf98802-f68a-4d39-bb8e-7b3b3af4bcbd","2d3569f4-96cf-42ae-8825-65ec09fa43e3"],"pending":[],"skipped":[],"duration":91183,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6fe9a082-d896-4568-83a0-a4b972f097aa","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":"d6168238-0b8a-4286-96eb-11116844b1cc","title":"Update Password","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Update Password","fullTitle":"Update Password Update Password","timedOut":null,"duration":13389,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/profile\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/profile');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(1) input').clear().type('test123');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(2) input').clear().type('test123');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(3) input').clear().type('test123');\ncy.get('.col-md-4 .card .card-footer button.btn.btn-danger').click({\n force: true\n});\ncy.wait(3000);\ncy.get('.change-password-form-wrapper form .form-group:nth-child(1) p.my-2.text-danger').then(function (elm) {\n expect(elm.text()).include('Current password does not matched');\n});\ncy.get('.change-password-form-wrapper form .form-group:nth-child(2) p.my-2.text-danger').then(function (elm) {\n expect(elm.text()).include('The password must be at least 8 characters.');\n});\ncy.get('.change-password-form-wrapper form .form-group:nth-child(3) p.my-2.text-danger').then(function (elm) {\n expect(elm.text()).include('The password confirmation must be at least 8 characters.');\n});\ncy.get('.change-password-form-wrapper form .form-group:nth-child(1) input').clear().type('test1234');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(2) input').clear().type('test12312');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(3) input').clear().type('test1231');\ncy.get('.col-md-4 .card .card-footer button.btn.btn-danger').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.change-password-form-wrapper form .form-group:nth-child(3) p.my-2.text-danger').then(function (elm) {\n expect(elm.text()).include('The password confirmation and password must match.');\n});\ncy.get('.change-password-form-wrapper form .form-group:nth-child(1) input').clear().type('test1234');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(2) input').clear().type('test12312');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(3) input').clear().type('test12312');\ncy.get('.col-md-4 .card .card-footer button.btn.btn-danger').click({\n force: true\n});\ncy.wait(3000);","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/profile'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/profile'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/5-profile/1-profile-update-password.spec.js:104:14)","diff":null},"uuid":"07c1826c-9fa4-46ea-8232-97d90c442795","parentUUID":"d6168238-0b8a-4286-96eb-11116844b1cc","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":4212,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get('.logout-btn > a').click({\n force: true\n});\ncy.visit('/portal/dashboard');\ncy.location('pathname').should('include', '/portal/login');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.logout-btn > a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.logout-btn > a`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/5-profile/1-profile-update-password.spec.js:140:8)","diff":null},"uuid":"a3f3bfa3-0ff1-4b95-8cd5-5eedb5233278","parentUUID":"d6168238-0b8a-4286-96eb-11116844b1cc","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":5103,"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":"b2256da2-b557-4a56-ba2b-29522a7fee61","parentUUID":"d6168238-0b8a-4286-96eb-11116844b1cc","isHook":false,"skipped":false},{"title":"Again Update Password","fullTitle":"Update Password Again Update Password","timedOut":null,"duration":13216,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/profile\");\ncy.loginPortal('andybary@mail.com', 'test12312');\ncy.wait(3000);\ncy.url().should('include', '/portal/profile');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(1) input').clear().type('test12312');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(2) input').clear().type('test1234');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(3) input').clear().type('test1234');\ncy.get('.col-md-4 .card .card-footer button.btn.btn-danger').click({\n force: true\n});\ncy.wait(3000);","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/profile'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/profile'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/5-profile/1-profile-update-password.spec.js:154:14)","diff":null},"uuid":"3c9350d1-6207-4888-8b5c-e9a5044b4bbf","parentUUID":"d6168238-0b8a-4286-96eb-11116844b1cc","isHook":false,"skipped":false}],"suites":[],"passes":["b2256da2-b557-4a56-ba2b-29522a7fee61"],"failures":["07c1826c-9fa4-46ea-8232-97d90c442795","a3f3bfa3-0ff1-4b95-8cd5-5eedb5233278","3c9350d1-6207-4888-8b5c-e9a5044b4bbf"],"pending":[],"skipped":[],"duration":35920,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6ec12f9b-da78-4e99-a800-f79f6f36c33b","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":"c6550e86-ceb8-47d3-84a9-939faabf053b","title":"Update Password","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Update Password","fullTitle":"Update Password Update Password","timedOut":null,"duration":19527,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/profile\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/profile');\ncy.get('#pfCustomerProfile_BasicInformation').contains('Basic Information').should('exist');\ncy.get('#pfCustomerProfile_BillingAddressInformation').contains('Billing Address').should('exist');\ncy.get('#pfCustomerProfile_ShippingAddressInformation').contains('Shipping Address').should('exist');\ncy.get('#pfCustomerProfile_BasicInformation .row:nth-child(3) .col-md-6:nth-child(1) input').clear().type('+12345678');\ncy.get('#pfCustomerProfile_BasicInformation .row:nth-child(3) .col-md-6:nth-child(2) input').clear().type('7777');\ncy.get('#select2-cust-profile-billing-country-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-cust-profile-billing-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-cust-profile-billing-state-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('New York');\ncy.wait(7000);\ncy.get('#select2-cust-profile-billing-state-el-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-cust-profile-billing-city-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('Adams');\ncy.wait(7000);\ncy.get('#select2-cust-profile-billing-city-el-results li').contains('Adams').click({\n force: true\n});\ncy.get('#pfCustomerProfile_BillingAddressInformation .row:nth-child(4) .col-md-6:nth-child(1) input').clear().type('address 1');\ncy.get('#pfCustomerProfile_BillingAddressInformation .row:nth-child(4) .col-md-6:nth-child(2) input').clear().type('address 2');\ncy.get('#select2-cust-profile-shipping-country-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-cust-profile-shipping-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-cust-profile-shipping-state-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('New York');\ncy.wait(7000);\ncy.get('#select2-cust-profile-shipping-state-el-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-cust-profile-shipping-city-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('Adams');\ncy.wait(7000);\ncy.get('#select2-cust-profile-shipping-city-el-results li').contains('Adams').click({\n force: true\n});\ncy.get('#pfCustomerProfile_ActionBtns button.btn.btn-danger').click({\n force: true\n});\ncy.wait(3000);","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/profile'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/portal/login' to include '/portal/profile'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/5-profile/2-edit-profile.spec.js:104:14)","diff":null},"uuid":"f49df5a1-6e57-4ee8-8265-07c4d42bcf38","parentUUID":"c6550e86-ceb8-47d3-84a9-939faabf053b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f49df5a1-6e57-4ee8-8265-07c4d42bcf38"],"pending":[],"skipped":[],"duration":19527,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2eb0c478-99d7-4625-99c6-c3768315e54e","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":"78999788-e3eb-4770-9ec8-c23b405fd626","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":5731,"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":"67dfdaac-170d-4658-a34e-13f9b16787e4","parentUUID":"78999788-e3eb-4770-9ec8-c23b405fd626","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":4278,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get('.navbar-brand').contains('Dashboard');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.navbar-brand`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.navbar-brand`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/8-logout/1-logout_spec.js:105:8)","diff":null},"uuid":"64f29735-89d4-4538-b230-65e200cec1fc","parentUUID":"78999788-e3eb-4770-9ec8-c23b405fd626","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Logout from Customer Portal I should see \"Welcome <Username>\" ","timedOut":null,"duration":4183,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.contains('Welcome');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Welcome' but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Welcome' but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/8-logout/1-logout_spec.js:108:8)","diff":null},"uuid":"ea95a754-a0e3-4537-9656-11aa35b4fa9a","parentUUID":"78999788-e3eb-4770-9ec8-c23b405fd626","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":4188,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get('.logout-btn > a').click({\n force: true\n});\ncy.visit('/portal/dashboard');\ncy.location('pathname').should('include', '/portal/login');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.logout-btn > a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.logout-btn > a`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/8-logout/1-logout_spec.js:111:8)","diff":null},"uuid":"2faaae95-3862-4eef-9d82-c3befe2839f4","parentUUID":"78999788-e3eb-4770-9ec8-c23b405fd626","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":36,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.location('pathname').should('not.include', 'dashboard');","err":{},"uuid":"ac88fafa-c635-4243-9eb0-1a9e85eb295b","parentUUID":"78999788-e3eb-4770-9ec8-c23b405fd626","isHook":false,"skipped":false}],"suites":[],"passes":["67dfdaac-170d-4658-a34e-13f9b16787e4","ac88fafa-c635-4243-9eb0-1a9e85eb295b"],"failures":["64f29735-89d4-4538-b230-65e200cec1fc","ea95a754-a0e3-4537-9656-11aa35b4fa9a","2faaae95-3862-4eef-9d82-c3befe2839f4"],"pending":[],"skipped":[],"duration":18416,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"067f399b-eaa1-4b28-a3c5-a006d7666f4b","title":"","fullFile":"cypress/integration/seeder/seedo.spec.js","file":"cypress/integration/seeder/seedo.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c814e7b8-471f-4856-ae85-dc9066acd5a9","title":"Creating multiple customers","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Creating multiple customers","fullTitle":"Creating multiple customers Creating multiple customers","timedOut":null,"duration":22463,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"for (var i = 0; i < 7; i++) {\n createCustomers();\n}","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#name-input`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#name-input`, but never found it.\n at createCustomers (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/seeder/seedo.spec.js:112:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/seeder/seedo.spec.js:102:7)","diff":null},"uuid":"5275ae09-6ddd-4740-94d8-49dc4026cab9","parentUUID":"c814e7b8-471f-4856-ae85-dc9066acd5a9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5275ae09-6ddd-4740-94d8-49dc4026cab9"],"pending":[],"skipped":[],"duration":22463,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"df14f862-7b8b-4450-8f7f-b3bce48556f9","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":"d3cc370c-6480-4547-97dd-ea7746c7f945","title":"Login Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I go to awais.subscriptionflow.com then I should be navigated to the login","fullTitle":"Login Page I go to awais.subscriptionflow.com then I should be navigated to the login","timedOut":null,"duration":3397,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('#email').should('be.visible');\ncy.get('#password').should('be.visible');\ncy.get('[for=\"remember-me\"]').should('be.visible');\ncy.get('.fs--1').should('be.visible');\ncy.get('[name=\"submit\"]').should('be.visible'); // cy.get('[href=\"https://www.subscriptionflow.com/terms-and-conditions/\"]').should('be.visible')\n// cy.get('[href=\"https://www.subscriptionflow.com/privacypolicy/\"]').should('be.visible')","err":{},"uuid":"6379af21-084f-4e0f-9f47-57caec41b83d","parentUUID":"d3cc370c-6480-4547-97dd-ea7746c7f945","isHook":false,"skipped":false}],"suites":[],"passes":["6379af21-084f-4e0f-9f47-57caec41b83d"],"failures":[],"pending":[],"skipped":[],"duration":3397,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ef0c8eed-e9f0-423a-b5af-2a7c1ae9385c","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":"816a530e-7901-4244-a416-4d61b4e30339","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":5107,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('#email').type('Username');\ncy.get('#password').type('Password');\ncy.get('[name=\"submit\"]').click();\ncy.get('.text-danger small').contains('These credentials do not match our records.').should('be.visible');","err":{},"uuid":"6145bf44-6094-4ea8-b80f-bdcd026222f4","parentUUID":"816a530e-7901-4244-a416-4d61b4e30339","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":2806,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('#email').type('Username');\ncy.get('#password').type('sf@superadmin#$');\ncy.get('[name=\"submit\"]').click();\ncy.get('.text-danger small').contains('These credentials do not match our records.').should('be.visible');","err":{},"uuid":"dc07d5e8-521e-40f9-a68c-dd5cf4398734","parentUUID":"816a530e-7901-4244-a416-4d61b4e30339","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":2943,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('#email').type('admin@subscriptionflow.com');\ncy.get('#password').type('blah blah');\ncy.get('[name=\"submit\"]').click();\ncy.get('.text-danger small').contains('These credentials do not match our records.').should('be.visible');","err":{},"uuid":"ce6da306-6252-41d8-9f19-ede009bcc5e6","parentUUID":"816a530e-7901-4244-a416-4d61b4e30339","isHook":false,"skipped":false}],"suites":[],"passes":["6145bf44-6094-4ea8-b80f-bdcd026222f4","dc07d5e8-521e-40f9-a68c-dd5cf4398734","ce6da306-6252-41d8-9f19-ede009bcc5e6"],"failures":[],"pending":[],"skipped":[],"duration":10856,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ea2fcd3e-48b1-41b7-8dff-030ca68d4ec5","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":"aa3d2844-0321-4f66-a52b-b340929c0ff3","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":7254,"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":"0956f58a-a9b2-4165-a86c-3906864c6cfe","parentUUID":"aa3d2844-0321-4f66-a52b-b340929c0ff3","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":90,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.title().should('include', 'SubscriptionFlow - Dashboard');","err":{},"uuid":"3837d63e-b5bf-4505-8415-2570733c9e23","parentUUID":"aa3d2844-0321-4f66-a52b-b340929c0ff3","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the site I should see \"Welcome <Username>\" ","timedOut":null,"duration":80,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.contains('Welcome');","err":{},"uuid":"fa38986f-de48-4a8e-9bb8-a400b9db31b6","parentUUID":"aa3d2844-0321-4f66-a52b-b340929c0ff3","isHook":false,"skipped":false}],"suites":[],"passes":["0956f58a-a9b2-4165-a86c-3906864c6cfe","3837d63e-b5bf-4505-8415-2570733c9e23","fa38986f-de48-4a8e-9bb8-a400b9db31b6"],"failures":[],"pending":[],"skipped":[],"duration":7424,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ce662ec4-c537-4aed-903e-922dd782352c","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":"05809def-c7f9-49f1-b9d1-790c128cf8e6","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":6294,"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":"75e03e3b-0c32-4391-aa2f-473a775dc210","parentUUID":"05809def-c7f9-49f1-b9d1-790c128cf8e6","isHook":false,"skipped":false}],"suites":[],"passes":["75e03e3b-0c32-4391-aa2f-473a775dc210"],"failures":[],"pending":[],"skipped":[],"duration":6294,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d3b103bf-fff8-4087-95f6-e222489a9a18","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":"1e786e06-c5fb-4b81-9b5c-6eaefa8c7e47","title":"Verify Privacy Policies URL is functional","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I am on awais.subscriptionflow.com","fullTitle":"Verify Privacy Policies URL is functional I am on awais.subscriptionflow.com","timedOut":null,"duration":5035,"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":"9bdfceb9-6680-4203-b246-d2611d034128","parentUUID":"1e786e06-c5fb-4b81-9b5c-6eaefa8c7e47","isHook":false,"skipped":false}],"suites":[],"passes":["9bdfceb9-6680-4203-b246-d2611d034128"],"failures":[],"pending":[],"skipped":[],"duration":5035,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d98cb32c-9e13-4a41-b2b7-bf70e76e1727","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":"90b310c5-08ce-4961-bc45-687037e51208","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":4816,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('.fs--1').click();\ncy.get('h4.text-center').should('contain', 'Reset Password');","err":{},"uuid":"ff63f006-658b-47db-a1cd-b648c872b765","parentUUID":"90b310c5-08ce-4961-bc45-687037e51208","isHook":false,"skipped":false}],"suites":[],"passes":["ff63f006-658b-47db-a1cd-b648c872b765"],"failures":[],"pending":[],"skipped":[],"duration":4816,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"39820074-366b-4f74-b151-2cc43e4632fa","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":"282c0162-0ec5-44e0-b529-38911a5a9aea","title":"Forgot Password Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I hit [awais.subscriptionflow.com/password/reset] I should be navigated to reset password page","fullTitle":"Forgot Password Page I hit [awais.subscriptionflow.com/password/reset] I should be navigated to reset password page","timedOut":null,"duration":4600,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('.fs--1').click(); // cy.get('h3.text-center').should('contain', 'Reset Password')\ncy.get('#email').should('be.visible');\ncy.get('.btn').should('contain', 'Send Reset Link');\ncy.get('.btn').should('be.visible');\ncy.get('p small').should('contain', 'Copyright © SubscriptionFlow Inc. All Rights Reserved');\ncy.get('.fs--1 ').should('contain', 'Back to Login').then(function (login) {\n var href = login.prop('href');\n expect(href).to.eq('https://awais.subscriptionflow.com/login');\n});","err":{},"uuid":"890a2304-00de-4781-8804-37bd407ea6fb","parentUUID":"282c0162-0ec5-44e0-b529-38911a5a9aea","isHook":false,"skipped":false}],"suites":[],"passes":["890a2304-00de-4781-8804-37bd407ea6fb"],"failures":[],"pending":[],"skipped":[],"duration":4600,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"58e43ffb-2525-44d8-9991-1c5acd5d8ff2","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":"6f3d0d7f-cea8-4aa6-9c93-6789acb8247e","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":12751,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('.fs--1').click();\ncy.get('#email').type('admin@subscriptionflow.com');\ncy.get('.btn').click();\ncy.get('.alert').should('contain', 'We have e-mailed your password reset link!');\ncy.get('.alert').should('have.css', 'background-color', 'rgb(204, 246, 228)');","err":{},"uuid":"d02822d4-b09c-45ab-90f7-978388fb257c","parentUUID":"6f3d0d7f-cea8-4aa6-9c93-6789acb8247e","isHook":false,"skipped":false}],"suites":[],"passes":["d02822d4-b09c-45ab-90f7-978388fb257c"],"failures":[],"pending":[],"skipped":[],"duration":12751,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d169ae2c-5d7f-4cce-9635-9033c8534338","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":"a848d91d-65ed-4ffb-9b22-42b52e89dc9f","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":7732,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('.fs--1').click();\ncy.get('#email').type('natediaz@gmail.com');\ncy.get('.btn').click();\ncy.get('small').should('contain', 'We can\\'t find a user with that e-mail address.');","err":{},"uuid":"596b88e1-3b3f-4b57-b017-c0388d62f442","parentUUID":"a848d91d-65ed-4ffb-9b22-42b52e89dc9f","isHook":false,"skipped":false}],"suites":[],"passes":["596b88e1-3b3f-4b57-b017-c0388d62f442"],"failures":[],"pending":[],"skipped":[],"duration":7732,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"21cfe94a-9376-4dda-bccd-4a3440d92d02","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":"ada656f7-520f-447a-a949-7f825694bda9","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":4300,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/password/reset');\ncy.get('.fs--1').click();\ncy.url().should('contains', 'login');","err":{},"uuid":"c72f655d-3396-4d43-9515-842851ce0d19","parentUUID":"ada656f7-520f-447a-a949-7f825694bda9","isHook":false,"skipped":false}],"suites":[],"passes":["c72f655d-3396-4d43-9515-842851ce0d19"],"failures":[],"pending":[],"skipped":[],"duration":4300,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"95a64ace-892d-4ab7-8e61-25f013c16004","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":"baecd832-24bd-4f85-8c97-7654583aa795","title":"Dashboard View","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I observe the Dashboard","fullTitle":"Dashboard View I observe the Dashboard","timedOut":null,"duration":8810,"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":"67c2aed4-1a90-41e5-8cd3-a3ac4c743b74","parentUUID":"baecd832-24bd-4f85-8c97-7654583aa795","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":129,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.get('#navbarStandard').should('be.visible');","err":{},"uuid":"d85d5404-36f4-4fb7-81a2-960dbb178511","parentUUID":"baecd832-24bd-4f85-8c97-7654583aa795","isHook":false,"skipped":false},{"title":"I should see two CTA's : Modern view , Currency","fullTitle":"Dashboard View I should see two CTA's : Modern view , Currency","timedOut":null,"duration":4310,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get('.btn-secondary').contains('Modern View').should('exist');\ncy.get('.d-flex > :nth-child(1) > .btn').contains('USD').should('exist');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'USD' within the element: <button.btn.dropdown-toggle.my-1.btn-secondary> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'USD' within the element: <button.btn.dropdown-toggle.my-1.btn-secondary> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/c-dashboard/1-dashboard_view_spec.js:110:62)","diff":null},"uuid":"6e81d74c-6f05-4663-be30-b8c579bebc7e","parentUUID":"baecd832-24bd-4f85-8c97-7654583aa795","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":148,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.scrollTo('bottom', {\n ensureScrollable: true\n});\ncy.get('.no-gutters').should('be.visible');","err":{},"uuid":"e8f007d2-976d-4cc5-a138-87b76b332b18","parentUUID":"baecd832-24bd-4f85-8c97-7654583aa795","isHook":false,"skipped":false}],"suites":[],"passes":["67c2aed4-1a90-41e5-8cd3-a3ac4c743b74","d85d5404-36f4-4fb7-81a2-960dbb178511","e8f007d2-976d-4cc5-a138-87b76b332b18"],"failures":["6e81d74c-6f05-4663-be30-b8c579bebc7e"],"pending":[],"skipped":[],"duration":13397,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5dcc6a82-03e9-4e7a-8e59-3e7599965fdf","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":"9b74cead-8ddd-4a9f-9b63-ba7b2ca260a1","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":13495,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.contains('Create Contact').click({\n force: true\n});\ncy.url().should('include', '/contacts/create');\ncy.contains('Basic Information').should('be.visible');\ncy.contains('Address Information').should('be.visible');\ncy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").should('be.visible');\ncy.contains('Cancel').should('be.visible'); // cy.get('#select2-assigned_group_id-input-container').click({force:true})\n// cy.wait(8000)\n// cy.get('#select2-assigned_group_id-input-container').click({force:true})\n// cy.wait(8000)\n// cy.get('#select2-assigned_group_id-input-results li:first-child').click({force:true})\ncy.get('#select2-customer_id-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-customer_id-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-customer_id-input-results li:first-child').click({\n force: true\n});\ncy.get('#salutation-input').select('Ms.', {\n force: true\n});\ncy.get('#first_name-input').type('Steven', {\n force: true\n}).should('have.value', 'Steven');\nvar rand = userID_Alpha_Numeric();\ncy.get('input[type=\"email\"]').eq(0).type(rand, {\n force: true\n}).should('have.value', rand);\ncy.get('#work_phone-input').type('000', {\n force: true\n});\ncy.get('#personal_phone-input').type('000', {\n force: true\n});\ncy.get('#home_phone-input').type('000', {\n force: true\n});\ncy.get('#other_phone-input').type('000', {\n force: true\n});\ncy.get('#fax-input').type('000', {\n force: true\n});\ncy.get('textarea[name=\"description\"]').type('This is the description', {\n force: true\n});\ncy.get('#billing_address_1-input').type('Line11', {\n force: true\n}).should('have.value', 'Line11');\ncy.get('#billing_address_2-input').type('Line21', {\n force: true\n}).should('have.value', 'Line21');\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('New York');\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-billing_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('#billing_postal_code-input').type('gfgdfg1', {\n force: true\n}).should('have.value', 'gfgdfg1');\ncy.get('.custom-control-label small').click({\n force: true\n});\ncy.get('#shipping_address_1-input').should('be.hidden');\ncy.get('#shipping_address_2-input').should('be.hidden');\ncy.get('#shipping_city-input').should('be.hidden');\ncy.get('#shipping_state-input').should('be.hidden');\ncy.get('#shipping_county-input').should('be.hidden');\ncy.get('#shipping_postal_code-input').should('be.hidden');\ncy.get('#shipping_country-input').should('be.hidden');\ncy.get('.custom-control-label small').click({\n force: true\n});\ncy.get('#shipping_address_1-input').type('Line12', {\n force: true\n}).should('have.value', 'Line12');\ncy.get('#shipping_address_2-input').type('Line22', {\n force: true\n}).should('have.value', 'Line22');\ncy.get('#shipping_postal_code-input').type('gfgdfg2', {\n force: true\n}).should('have.value', 'gfgdfg2');\ncy.get('#select2-shipping_country-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-shipping_country-input-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-shipping_state-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('New York');\ncy.wait(7000);\ncy.get('#select2-shipping_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-shipping_city-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-shipping_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n}).then(function () {\n cy.get(\".invalid-feedback\").contains(' This Field is Required ').should('be.visible');\n cy.get(\".invalid-feedback\").contains(' Invalid Email Value ').should('be.visible');\n cy.get(\".invalid-feedback\").contains(' Invalid Phone Number').should('be.visible');\n});\ncy.contains('Cancel').click({\n force: true\n});\ncy.url().should('include', '/contacts');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Create Contact' but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Create Contact' but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/01cancel_contact.spec.js:103:8)","diff":null},"uuid":"e01eda44-348a-4292-b256-3ccb08faac99","parentUUID":"9b74cead-8ddd-4a9f-9b63-ba7b2ca260a1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e01eda44-348a-4292-b256-3ccb08faac99"],"pending":[],"skipped":[],"duration":13495,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"068dfc97-d6fb-48f4-bfa4-a71e4a5762a5","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":"9a0b6534-0f53-49cf-8eaa-2d1d8cbb7180","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":21395,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.contains('Create Contact').click({\n force: true\n});\ncy.url().should('include', '/contacts/create');\ncy.contains('Basic Information').should('be.visible');\ncy.contains('Address Information').should('be.visible');\ncy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").should('be.visible');\ncy.contains('Cancel').should('be.visible'); // cy.get('#select2-assigned_group_id-input-container').click({force:true})\n// cy.wait(8000)\n// cy.get('#select2-assigned_group_id-input-container').click({force:true})\n// cy.wait(8000)\n// cy.get('#select2-assigned_group_id-input-results li:first-child').click({force:true})\ncy.get('#select2-customer_id-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-customer_id-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-customer_id-input-results li:first-child').click({\n force: true\n});\ncy.get('#salutation-input').select('Ms.', {\n force: true\n});\ncy.get('#first_name-input').type('Steven', {\n force: true\n}).should('have.value', 'Steven');\nvar rand = userID_Alpha_Numeric();\ncy.get('input[type=\"email\"]').eq(0).type(rand, {\n force: true\n}).should('have.value', rand);\ncy.get('#work_phone-input').type('000', {\n force: true\n});\ncy.get('#personal_phone-input').type('000', {\n force: true\n});\ncy.get('#home_phone-input').type('000', {\n force: true\n});\ncy.get('#other_phone-input').type('000', {\n force: true\n});\ncy.get('#fax-input').type('000', {\n force: true\n});\ncy.get('textarea[name=\"description\"]').type('This is the description', {\n force: true\n});\ncy.get('#billing_address_1-input').type('Line11', {\n force: true\n}).should('have.value', 'Line11');\ncy.get('#billing_address_2-input').type('Line21', {\n force: true\n}).should('have.value', 'Line21');\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-container.select2-container--default.select2-container--open input.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-container.select2-container--default.select2-container--open input.select2-search__field').type('New York');\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-billing_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('#billing_postal_code-input').type('gfgdfg1', {\n force: true\n}).should('have.value', 'gfgdfg1');\ncy.get('.custom-control-label small').click({\n force: true\n});\ncy.get('#shipping_address_1-input').should('be.hidden');\ncy.get('#shipping_address_2-input').should('be.hidden');\ncy.get('#shipping_city-input').should('be.hidden');\ncy.get('#shipping_state-input').should('be.hidden');\ncy.get('#shipping_county-input').should('be.hidden');\ncy.get('#shipping_postal_code-input').should('be.hidden');\ncy.get('#shipping_country-input').should('be.hidden');\ncy.get('.custom-control-label small').click({\n force: true\n});\ncy.get('#shipping_address_1-input').type('Line12', {\n force: true\n}).should('have.value', 'Line12');\ncy.get('#shipping_address_2-input').type('Line22', {\n force: true\n}).should('have.value', 'Line22');\ncy.get('#shipping_postal_code-input').type('gfgdfg2', {\n force: true\n}).should('have.value', 'gfgdfg2');\ncy.get('#select2-shipping_country-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-container.select2-container--default.select2-container--open input.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-shipping_country-input-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-shipping_state-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-container.select2-container--default.select2-container--open input.select2-search__field').type('New York');\ncy.wait(7000);\ncy.get('#select2-shipping_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-shipping_city-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-shipping_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n}).then(function () {\n cy.get(\".invalid-feedback\").contains(' This Field is Required ').should('be.visible');\n cy.get(\".invalid-feedback\").contains(' Invalid Email Value ').should('be.visible');\n cy.get(\".invalid-feedback\").contains(' Invalid Phone Number').should('be.visible');\n});\ncy.get('#last_name-input').type('Anderson', {\n force: true\n});\ncy.get('input[type=\"email\"]').eq(0).type('@mail.com', {\n force: true\n});\ncy.get('#work_phone-input').clear({\n force: true\n}).type('03009765278', {\n force: true\n});\ncy.get('#personal_phone-input').clear({\n force: true\n}).type('03009765278', {\n force: true\n});\ncy.get('#home_phone-input').clear({\n force: true\n}).type('03009765278', {\n force: true\n});\ncy.get('#other_phone-input').clear({\n force: true\n}).type('03009765278', {\n force: true\n});\ncy.get('#fax-input').clear({\n force: true\n}).type('03009765278', {\n force: true\n});\ncy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n});\ncy.get('#detail-title').should('contain', 'Steven Anderson');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Create Contact' but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Create Contact' but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/02create_contact.spec.js:103:8)","diff":null},"uuid":"5e037ae0-496a-407b-92f0-6492bbcbc650","parentUUID":"9a0b6534-0f53-49cf-8eaa-2d1d8cbb7180","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5e037ae0-496a-407b-92f0-6492bbcbc650"],"pending":[],"skipped":[],"duration":21395,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"33221223-abbb-4456-8934-7d57bde050dd","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":"4a3cd17e-8759-465d-8f4a-ca8122202328","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":12082,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"en/contacts\");\ncy.check();\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa > path').should('be.visible').click({\n force: true\n}).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n});\ncy.wait(8000);\ncy.contains('Contacts').click({\n force: true\n});\ncy.url().should('include', '/contacts');\ncy.wait(10000);\ncy.get('[data-title=\" New Contact\"]').should('be.visible');\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').should('be.visible');\n cy.contains('Import').should('be.visible');\n cy.contains('Export').should('not.be.visible');\n});\ncy.get('#listViewTableEl .check-all-records').click({\n force: true\n}).then(function () {\n cy.contains('Actions').click({\n force: true\n }).then(function () {\n cy.wait(5000);\n cy.contains('Send Mail').should('be.visible');\n cy.contains('Delete').should('be.visible');\n cy.get('.row > .actions-dropdown > .btn-group > .dropdown-menu > [data-toggle=\"modal\"]').contains('Update').should('be.visible');\n });\n});\ncy.get('.justify-content-between > .btn-group > .btn').contains('All').should('be.visible'); //.contains('Create View')\ncy.get('.mx-2 > .svg-inline--fa').should('be.visible');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `:nth-child(9) > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `:nth-child(9) > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/03contact_page.spec.js:103:66)","diff":null},"uuid":"cc087cdd-ac47-442b-b9f2-ef840f370f2a","parentUUID":"4a3cd17e-8759-465d-8f4a-ca8122202328","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cc087cdd-ac47-442b-b9f2-ef840f370f2a"],"pending":[],"skipped":[],"duration":12082,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"aea7b44b-d3d1-4e95-b0bc-4c704651f9c7","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":"bc04fad5-4807-44de-9e98-1dbfd4443889","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":22469,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Tes', {\n force: true\n}).then(function () {\n cy.wait(10000);\n var k = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get(j).eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.include('tes');\n });\n }\n });\n }\n });\n } else {\n k = k + 1;\n }\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/04search_contacts.spec.js:108:8)","diff":null},"uuid":"69cea897-b71a-4854-a667-5c8a66d3773f","parentUUID":"bc04fad5-4807-44de-9e98-1dbfd4443889","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":26170,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').clear().type('Farhan', {\n force: true\n}).then(function () {\n cy.wait(10000);\n var m = -2;\n var n;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"First Name\")) {\n n = \"[data-sfuniqueid = dataTable__table-td-\" + m + \"]\";\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(n).its('length').then(function ($length) {\n for (var z = 0; z < $length - 1; z++) {\n cy.get(n).eq(z).then(function ($element) {\n expect($element.text()).to.include('Farhan');\n });\n }\n });\n }\n });\n } else {\n m = m + 1;\n }\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/04search_contacts.spec.js:141:8)","diff":null},"uuid":"f85ba6d9-757a-4e99-b28d-8e58605d0399","parentUUID":"bc04fad5-4807-44de-9e98-1dbfd4443889","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":20458,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('#basic_search').clear().type('Jaffar', { force: true }).then(() => {\ncy.get('#basic_search').clear();\ncy.get('#basic_search').type('Jaffar', {\n force: true\n}).then(function () {\n cy.wait(10000);\n var m = -2;\n var n;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Last Name\")) {\n n = \"[data-sfuniqueid = dataTable__table-td-\" + m + \"]\";\n console.log(n);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(n).its('length').then(function ($length) {\n for (var z = 0; z < $length - 1; z++) {\n cy.get(n).eq(z).then(function ($element) {\n expect($element.text()).to.include('Jaffar');\n });\n }\n });\n }\n });\n } else {\n m = m + 1;\n }\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/04search_contacts.spec.js:174:8)","diff":null},"uuid":"f12a7f52-cb0c-4915-857a-f592122076c8","parentUUID":"bc04fad5-4807-44de-9e98-1dbfd4443889","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["69cea897-b71a-4854-a667-5c8a66d3773f","f85ba6d9-757a-4e99-b28d-8e58605d0399","f12a7f52-cb0c-4915-857a-f592122076c8"],"pending":[],"skipped":[],"duration":69097,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"da68322d-4afd-4992-9362-0ccf1aebc9b8","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":"3ddefa9f-68f1-413e-885a-aa9b88a29178","title":"Delete a contact","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Should delete contacts","fullTitle":"Delete a contact Should delete contacts","timedOut":null,"duration":22388,"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: `.recordsCount small`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.recordsCount small`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/05delete_contacts.spec.js:106:8)","diff":null},"uuid":"2838899c-2e83-4f77-b93b-1c6f99d888a4","parentUUID":"3ddefa9f-68f1-413e-885a-aa9b88a29178","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2838899c-2e83-4f77-b93b-1c6f99d888a4"],"pending":[],"skipped":[],"duration":22388,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"84b1b233-fecd-4eaa-89f1-a1302b11a6b4","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":"9cae3172-a2e3-4307-8bef-416af869d14b","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":28460,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.show-edit').eq(4).then(function (Edit) {\n var edit = Edit.prop('href');\n cy.visit(edit);\n});\ncy.url().should('contain', '/edit');\ncy.get('#first_name-input').clear({\n force: true\n}).type('Update1', {\n force: true\n});\ncy.get('#last_name-input').then(function ($element) {\n cy.get($element).clear({\n force: true\n }).type('Update2', {\n force: true\n });\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@email.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains('Save').click({\n force: true\n });\n cy.wait(10000);\n cy.url().should('contain', '/contact-detail/');\n cy.get('#detail-title').should('contain', $element.text() + ' Update2');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.show-edit`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.show-edit`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/06edit_contact.spec.js:104:8)","diff":null},"uuid":"28012c0d-94b0-4812-9eea-dec0dd8be670","parentUUID":"9cae3172-a2e3-4307-8bef-416af869d14b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["28012c0d-94b0-4812-9eea-dec0dd8be670"],"pending":[],"skipped":[],"duration":28460,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9ff92541-6692-40dd-8d7a-74daf14a2809","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":"ae78787b-9605-4ee9-90bb-24eb26561c8b","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":23492,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('tbody tr td input').then(function (elements) {\n for (var i = 0; i < 6; i++) {\n cy.get(elements).eq(i).click({\n force: true\n });\n }\n});\ncy.contains('Actions').click({\n force: true\n});\ncy.get('[data-target=\"#mass-update-modal\"]').contains('Update').click({\n force: true\n});\ncy.get('#massUpdateField').select('Personal Phone');\ncy.wait(10000);\ncy.get('#massUpdateValue').type('03003673767');\ncy.get('button').contains('Update').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#personal_phone').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(20000);\nvar m = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Personal Phone\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + m + \"]\";\n console.log(j);\n for (var k = 0; k < 6; k++) {\n cy.get(j).eq(k).then(function (element) {\n expect(element.text()).to.include('03003673767');\n });\n }\n } else {\n m = m + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying 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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/07bulk_update.spec.js:105:8)","diff":null},"uuid":"9e9d289e-9c6b-405a-82cc-edd7b85f3816","parentUUID":"ae78787b-9605-4ee9-90bb-24eb26561c8b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9e9d289e-9c6b-405a-82cc-edd7b85f3816"],"pending":[],"skipped":[],"duration":23492,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e5f908f8-9472-40a1-8c30-741d99323b2d","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":"dc7138ec-0307-4f30-91cb-cbf282df64b7","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":26428,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/contacts');\ncy.check();\ncy.wait(10000);\ncy.get('#listViewTableEl .check-all-records').click({\n force: true\n});\ncy.contains('Actions').should('be.visible');\ncy.get('.selected-rows a').should('be.visible').click({\n force: true\n});\ncy.get('tbody tr td input').then(function ($element) {\n for (var i = 0; i < $element.length; i++) {\n cy.get('tbody tr td input').eq(i).should('not.be.checked');\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#listViewTableEl .check-all-records`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#listViewTableEl .check-all-records`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/08clear_selection.spec.js:105:8)","diff":null},"uuid":"230430a4-d4ca-4164-bca5-ef722544ab11","parentUUID":"dc7138ec-0307-4f30-91cb-cbf282df64b7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["230430a4-d4ca-4164-bca5-ef722544ab11"],"pending":[],"skipped":[],"duration":26428,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8cb8e270-fae8-4970-8977-83dc1c888aa6","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":"b3389586-5eaf-4a3f-a65f-c7ca55a415a5","title":"Edit Columns","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Edit contacts table columns","fullTitle":"Edit Columns Edit contacts table columns","timedOut":null,"duration":22131,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#work_phone').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(20000);\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes('Work Phone')) {\n var text = element.text().trim();\n expect(text).to.eq('Work Phone');\n } else {\n i = i + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/09edit_columns.spec.js:108:8)","diff":null},"uuid":"b9a938d2-261b-40be-9934-81f3894a1f89","parentUUID":"b3389586-5eaf-4a3f-a65f-c7ca55a415a5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b9a938d2-261b-40be-9934-81f3894a1f89"],"pending":[],"skipped":[],"duration":22131,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"84f0d19e-42bd-4166-853c-7bafb0eecdb7","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":"b1cb7a26-b5ca-46d4-9d9d-466781ebf55f","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":30070,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#salutation').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// // cy.get('#toggleFilterSidebar').click({force:true})\n// cy.wait(1000)\n// cy.get('#toggleFilterSidebar').click({force:true})\n// cy.get('#toggleFilterSidebar').click({force:true})\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Salutation\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Salutation\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[salutation]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get('#select2-salutation-input-container').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#select2-salutation-input-results li').contains('Mr.').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizetext = normalizeText(elements.text());\n expect(normalizetext).to.include('mr.');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[salutation]\"]').select(\"isn't\", {\n force: true\n });\n cy.get('#select2-salutation-input-container').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#select2-salutation-input-results li').contains('Mr.').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizetext = normalizeText(elements.text());\n expect(normalizetext).to.not.eq('mr.');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[salutation]\"]').select('contains', {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#select2-salutation-input-results li').contains('Mr.').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizetext = normalizeText(elements.text());\n expect(normalizetext).to.include('mr.');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[salutation]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#select2-salutation-input-results li').contains('Mr.').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizetext = normalizeText(elements.text());\n expect(normalizetext).to.not.include('mr.');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[salutation]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('\\n \\n ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[salutation]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('\\n \\n ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/01filter_by_salutation.spec.js:121:8)","diff":null},"uuid":"95576011-5bc2-4ff2-9f5e-95f19fba78d0","parentUUID":"b1cb7a26-b5ca-46d4-9d9d-466781ebf55f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["95576011-5bc2-4ff2-9f5e-95f19fba78d0"],"pending":[],"skipped":[],"duration":30070,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"09028d6f-beb0-4db0-82c4-9a14f0c13cae","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":"275863bf-e680-4525-a6d9-c07ba810e989","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":27052,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(15000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#customer_id').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(15000)\n// cy.get('#toggleFilterSidebar').click({force:true})\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Customer\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Customer\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[customer_id]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#select2-customer_id-input-results li').first().then(function (element) {\n cy.get(element).click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(15000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include(element.text());\n });\n }\n });\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_id]\"]').select(\"isn't\", {\n force: true\n });\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#select2-customer_id-input-results li').first().then(function (element) {\n cy.get(element).click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(15000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include(element.text());\n });\n }\n });\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_id]\"]').select('contains', {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#select2-customer_id-input-results li').first().then(function (element) {\n cy.get(element).click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(15000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include(element.text());\n });\n }\n });\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_id]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#select2-customer_id-input-results li').first().then(function (element) {\n cy.get(element).click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(15000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text().trim()).to.not.include(element.text());\n });\n }\n });\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_id]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(15000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('\\n \\n ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_id]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(15000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('\\n \\n ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/02filter_by_customer.spec.js:118:8)","diff":null},"uuid":"c5d62551-93ba-4734-9c8b-73592e9f985e","parentUUID":"275863bf-e680-4525-a6d9-c07ba810e989","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c5d62551-93ba-4734-9c8b-73592e9f985e"],"pending":[],"skipped":[],"duration":27052,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"19a60c44-00be-4441-a9cc-d06f9bfdc37e","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":"e6e4e318-c4e1-4180-9a4e-420604d31883","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":23077,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(5000); // cy.get('#toggleFilterSidebar').click({force:true})\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == 'First Name') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"First Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Abbot', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(50000); // cy.wait(5000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('Abbot');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Abbot', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(5000); // cy.wait(50000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('Abbot');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('Ab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(5000); // cy.wait(50000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('ab'); //expect(elements.text().toLowerCase()).to.include('Ab')\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('Ab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(5000); // cy.wait(50000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('ab'); // expect(elements.text()).to.not.include('Ab')\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('Ab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(5000); // cy.wait(50000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^ab/;\n var normalizedelement = elements.text().trim();\n normalizedelement = normalizeText(normalizedelement); //expect(elements.text()).to.match(reg)\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('ot', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(5000); // cy.wait(50000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /ot$/;\n var normalizedelement = elements.text().trim();\n normalizedelement = normalizeText(normalizedelement);\n expect(normalizedelement).to.match(reg); // expect(elements.text()).to.match(reg)\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(5000); // cy.wait(50000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(8000); // cy.wait(50000)\n cy.get('td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/03filter_by_first_name.spec.js:112:8)","diff":null},"uuid":"359c0742-21cd-425c-a76b-3270d9085793","parentUUID":"e6e4e318-c4e1-4180-9a4e-420604d31883","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["359c0742-21cd-425c-a76b-3270d9085793"],"pending":[],"skipped":[],"duration":23077,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1a9ab29f-26ad-495e-bfa0-2f9f82be2684","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":"440917b6-7465-4d3c-9669-5bdbada01bf6","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":15064,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(3000); // cy.get('#toggleFilterSidebar').click({force:true})\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == 'Last Name') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Last Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Homes', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n }); // cy.wait(30000)\n cy.wait(20000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('Homes');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Johnson', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000); // cy.wait(30000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('Johnson');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('Jo', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000); // cy.wait(30000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('jo'); //expect(elements.text().toLowerCase()).to.include('Ab')\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('Jo', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000); // cy.wait(30000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('jo'); // expect(elements.text()).to.not.include('Ab')\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('Jo', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000); // cy.wait(30000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^jo/;\n var normalizedelement = elements.text().trim();\n normalizedelement = normalizeText(normalizedelement); //expect(elements.text()).to.match(reg)\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('on', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000); // cy.wait(30000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /on$/;\n var normalizedelement = elements.text().trim();\n normalizedelement = normalizeText(normalizedelement);\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000); // cy.wait(50000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000); // cy.wait(50000)\n cy.get('td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/04filter_by_last_name.spec.js:112:8)","diff":null},"uuid":"256c231b-990c-40d2-924e-a9d954a67ea5","parentUUID":"440917b6-7465-4d3c-9669-5bdbada01bf6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["256c231b-990c-40d2-924e-a9d954a67ea5"],"pending":[],"skipped":[],"duration":15064,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"43e07531-1a79-48b6-be59-ea9a7d616d54","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":"574a6c57-65ba-44a2-97ca-6f6b34f13291","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":22206,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#work_phone').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == 'Work Phone') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes('Work Phone')) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('888.315.7168', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include(' \\n 888.315.7168\\n ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"').should('be.visible').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('888.315.7168', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.eq(' \\n 888.315.7168\\n ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"').should('be.visible').select(\"contains\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('8');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('7', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.include('7');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('88', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n 88/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /8\\n $/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include(' ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq(' ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/05filter_by_workphone.spec.js:118:8)","diff":null},"uuid":"d7db7eff-e93b-421d-b843-4de19eeae0e5","parentUUID":"574a6c57-65ba-44a2-97ca-6f6b34f13291","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d7db7eff-e93b-421d-b843-4de19eeae0e5"],"pending":[],"skipped":[],"duration":22206,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a257bf87-af40-42cf-bc44-7049f5ff63d4","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":"34bb55e5-9e17-486c-8ad7-90c137b71987","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":27264,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#personal_phone').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == 'Personal Phone') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes('Personal Phone')) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('888.269.6814', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include(' \\n 888.269.6814\\n ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"').should('be.visible').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('888.269.6814', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.eq(' \\n 888.269.6814\\n ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"').should('be.visible').select(\"contains\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('8');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('7', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.include('7');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('88', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n 88/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /8\\n $/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include(' ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq(' ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/06filter_by_personal_phone.spec.js:118:8)","diff":null},"uuid":"78ff4ecd-5a0c-48ca-9b8b-ffa2a076bd80","parentUUID":"34bb55e5-9e17-486c-8ad7-90c137b71987","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["78ff4ecd-5a0c-48ca-9b8b-ffa2a076bd80"],"pending":[],"skipped":[],"duration":27264,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0d43de0e-6f48-463e-ad0c-9a0ab3fce59c","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":"54ec531e-dcb1-4d5a-9b87-765c627e4284","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":18046,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(3000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#email').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(3000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(3000);\nvar y,\n x = 0;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == 'Email') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes('Email')) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('kamranakram003@gmail.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(3000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('kamranakram003@gmail.com');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').should('be.visible').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('kamranakram003@gmail.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('kamranakram003@gmail.com');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').should('be.visible').select(\"contains\", {\n force: true\n });\n cy.get(y).type('@gmail.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('@gmail.com');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('@gmail.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('@gmail.com');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('kam', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(30000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n kam/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('r.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(30000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /r.com\\n $/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(50000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(50000);\n cy.get('td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/07filter_by_email.spec.js:120:8)","diff":null},"uuid":"543ce70e-c103-4234-8586-058cfa69ea0c","parentUUID":"54ec531e-dcb1-4d5a-9b87-765c627e4284","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["543ce70e-c103-4234-8586-058cfa69ea0c"],"pending":[],"skipped":[],"duration":18046,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"28d20435-d435-44a3-89de-062b5b11566b","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":"05a6814d-9def-4e7e-86a7-dffb8e67cb39","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":24464,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#other_phone').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == 'Other Phone') {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes('Other Phone')) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\"; // cy.get('.filerSelect [name=\"filter_condition[other_phone]\"]').should('be.visible').select('is', { force: true })\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"]').select('is', {\n force: true\n });\n cy.get(y).type('03009765278', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(15000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('03009765278');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"').select(\"isn't\", {\n force: true\n }); // cy.get('.filerSelect [name=\"filter_condition[other_phone]\"').should('be.visible').select(\"isn't\", { force: true })\n cy.get(y).type('03009765278', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.eq(' \\n 03009765278\\n ');\n });\n }\n }); // cy.get('.filerSelect [name=\"filter_condition[other_phone]\"').should('be.visible').select(\"contains\", { force: true })\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"').select(\"contains\", {\n force: true\n });\n cy.get(y).type('9', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('9');\n });\n }\n }); // cy.get('.filerSelect [name=\"filter_condition[other_phone]\"').should('be.visible').select(\"doesn't contain\", { force: true })\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('4', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.include('4');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('03', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n 03/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /8\\n $/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include(' ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq(' ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/08filter_by_other_phone.spec.js:119:8)","diff":null},"uuid":"37781bf0-b178-409d-ba7f-43dfc5f61dd2","parentUUID":"05a6814d-9def-4e7e-86a7-dffb8e67cb39","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["37781bf0-b178-409d-ba7f-43dfc5f61dd2"],"pending":[],"skipped":[],"duration":24464,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"190b5c67-bef6-4fe4-ab5c-c0534124747c","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":"929bc23c-d9eb-4d32-8dae-719f75a71d5b","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":23214,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#home_phone').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == 'Home Phone') {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes('Home Phone')) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('03009765278', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n var reg = /8\\n $/;\n expect(element.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"').should('be.visible').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('03009765278', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.eq('03009765278');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"').should('be.visible').select(\"contains\", {\n force: true\n });\n cy.get(y).type('9', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('9');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('4', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.include('4');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('03', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n 03/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /8\\n $/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include(' ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq(' ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/09filter_by_home_phone.spec.js:119:8)","diff":null},"uuid":"e44c4dbc-ca20-4cd1-8178-f5d10519c3e8","parentUUID":"929bc23c-d9eb-4d32-8dae-719f75a71d5b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e44c4dbc-ca20-4cd1-8178-f5d10519c3e8"],"pending":[],"skipped":[],"duration":23214,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6f7fe1a9-60c3-4f72-a9d4-8d348451362b","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":"a1bd5b52-ab88-474e-be4a-8366cedc9236","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":23254,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#fax').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == 'Fax') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes('Fax')) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[fax]\"').select('is', {\n force: true\n });\n cy.get(y).type('03009765278', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('03009765278');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('03009765278', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.eq(' \\n 03009765278\\n ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"').select(\"contains\", {\n force: true\n });\n cy.get(y).type('9', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('9');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('4', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.include('4');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('03', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n 03/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /8\\n $/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include(' ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq(' ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/10filter_by_fax.spec.js:119:8)","diff":null},"uuid":"08121787-e7f7-4af0-a6d9-f329a348ee01","parentUUID":"a1bd5b52-ab88-474e-be4a-8366cedc9236","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["08121787-e7f7-4af0-a6d9-f329a348ee01"],"pending":[],"skipped":[],"duration":23254,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"695d3cfa-bd0d-4037-a391-db6a29b6527d","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":"3a538807-710b-4af1-b5ef-283b36133834","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":28851,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(15000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#billing_address_1').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Primary Address 1\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Primary Address 1\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('lahore punjab 1', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('lahorepunjab1');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('lahore punjab 1', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('lahorepunjab1');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('lahore', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('lahore');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('lahore', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('lahore');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('la', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^la/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('1', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /1$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/11filter_by_PrimaryAddress1.spec.js:119:8)","diff":null},"uuid":"c3ade6aa-8607-48bb-b4c8-47563cc3ecf1","parentUUID":"3a538807-710b-4af1-b5ef-283b36133834","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c3ade6aa-8607-48bb-b4c8-47563cc3ecf1"],"pending":[],"skipped":[],"duration":28851,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9079fe02-598e-4444-beab-45ba5d831937","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":"2290a99a-c821-47b9-84c7-dcbe1c1b39f4","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":23154,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#billing_address_2').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Primary Address 2\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Primary Address 2\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('lahore punjab 2', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('lahorepunjab2');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('lahore punjab 2', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('lahorepunjab2');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('lahore', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('lahore');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('lahore', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('lahore');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('la', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^la/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('2', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /2$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(15000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/12filter_by_PrimaryAddress2.spec.js:119:8)","diff":null},"uuid":"b2ea0d4d-24f4-4d1c-bc12-3cf64f7aaf36","parentUUID":"2290a99a-c821-47b9-84c7-dcbe1c1b39f4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b2ea0d4d-24f4-4d1c-bc12-3cf64f7aaf36"],"pending":[],"skipped":[],"duration":23154,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ff66057c-f511-4625-b0a2-a5742c4a7006","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":"497ff9a5-7544-4edf-bdc8-611cb14cbd4c","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":25953,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#billing_country').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Primary Country\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Primary Country\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('pk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('pk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('pk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('pk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('p', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('p');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('p', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('p');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('p', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n p/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('k', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /k$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/13filter_by_primaryCountry.spec.js:119:8)","diff":null},"uuid":"b7db5619-a3f9-455c-b5d6-afa75ab8e149","parentUUID":"497ff9a5-7544-4edf-bdc8-611cb14cbd4c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b7db5619-a3f9-455c-b5d6-afa75ab8e149"],"pending":[],"skipped":[],"duration":25953,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e155b7f5-96bc-4325-ba6d-b3b710d792e5","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":"886d1e2d-3584-4952-9736-28c0782f2cb0","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":23173,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#billing_state').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Primary State\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Primary State\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Punjab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('punjab');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Punjab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('punjab');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('pun', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('pun');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('pun', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('pun');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('pun', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n pun/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('ab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /ab$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/14filter_by_primaryState.spec.js:119:8)","diff":null},"uuid":"579c30c3-75b1-4fc7-b7e8-11c689b4c40f","parentUUID":"886d1e2d-3584-4952-9736-28c0782f2cb0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["579c30c3-75b1-4fc7-b7e8-11c689b4c40f"],"pending":[],"skipped":[],"duration":23173,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5ce15f3a-7ad6-4918-8eff-1f71601bce76","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":"e9884294-1bde-4ac0-aec0-ba868e0fae5b","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":26218,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#billing_city').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Primary City\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Primary City\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Lahore', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('lahore');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Lahore', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('lahore');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('lah', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('lah');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('lah', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('lah');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('lah', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n lah/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('re', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /re$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/15filter_by_primaryCity.spec.js:119:8)","diff":null},"uuid":"4f8bef00-6ef6-4111-8c65-cb6f056c7f00","parentUUID":"e9884294-1bde-4ac0-aec0-ba868e0fae5b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4f8bef00-6ef6-4111-8c65-cb6f056c7f00"],"pending":[],"skipped":[],"duration":26218,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1e4c3d09-a8e6-4845-a061-9e061852bed7","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":"73734cc1-0cb0-41bc-b720-d162a46ff3de","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":23357,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#billing_postal_code').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Primary Postal Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Primary Postal Code\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('454545', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('454545');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('454545', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('454545');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('45', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('45');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('45', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('45');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('45', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^45/;\n var normalizedelement = elements.text().trim();\n normalizedelement = normalizeText(normalizedelement);\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('45', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /45$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/16filter_by_primaryPostalCode.spec.js:119:8)","diff":null},"uuid":"87ec9838-48e7-4783-97fc-5c78a988c38c","parentUUID":"73734cc1-0cb0-41bc-b720-d162a46ff3de","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["87ec9838-48e7-4783-97fc-5c78a988c38c"],"pending":[],"skipped":[],"duration":23357,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1c1d0be7-1898-4ebf-afa5-86211b2ef148","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":"7f7d8631-e7fc-4d51-acc4-aa4a07c4a669","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":23041,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#shipping_address_1').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Secondary Address 1\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Secondary Address 1\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('kpk 1', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('kpk1');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('kpk 1', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('kpk1');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('kp', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('kp');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('kp', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('kp');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('k', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n k/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('1', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /1$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/17filter_by_secondaryAddress1.spec.js:119:8)","diff":null},"uuid":"e35f612e-5f98-436d-80a4-44373923cc61","parentUUID":"7f7d8631-e7fc-4d51-acc4-aa4a07c4a669","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e35f612e-5f98-436d-80a4-44373923cc61"],"pending":[],"skipped":[],"duration":23041,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ccfc160b-8734-4612-b667-a59dc9c0dcef","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":"2ca21ba0-d27c-4a0f-8879-dcf9d0f45cf6","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":23188,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#shipping_address_2').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Secondary Address 2\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Secondary Address 2\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('kpk 2', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('kpk2');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('kpk 2', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('kpk2');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('kp', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('kp');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('kp', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('kp');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('k', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n k/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('2', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /2$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/18filter_by_secondaryAdress2.spec.js:119:8)","diff":null},"uuid":"703b6e37-ae12-4154-9a51-7153844d83b9","parentUUID":"2ca21ba0-d27c-4a0f-8879-dcf9d0f45cf6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["703b6e37-ae12-4154-9a51-7153844d83b9"],"pending":[],"skipped":[],"duration":23188,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"550628d4-c8d9-43c3-b257-85927e4861bb","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":"1997fb6a-9de6-4a9c-99d2-04f2bd088284","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":23153,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#shipping_country').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Secondary Country\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Secondary Country\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('pk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('pk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('pk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('pk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('p', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('p');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('p', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('p');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('p', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n p/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('k', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /k$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/19filter_by_secondaryCountry.spec.js:119:8)","diff":null},"uuid":"0510fadb-c39b-4f35-92b4-4c47c6509af5","parentUUID":"1997fb6a-9de6-4a9c-99d2-04f2bd088284","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0510fadb-c39b-4f35-92b4-4c47c6509af5"],"pending":[],"skipped":[],"duration":23153,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ce867165-eb76-42a4-af48-9ff15b40b28a","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":"716f1620-8cc1-4d99-9330-e66136f85dc5","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":27985,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#shipping_state').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Secondary State\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Secondary State\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('New York', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('newyork');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('New York', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('newyork');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('new', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('new');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('new', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('new');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('ne', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^ne/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('rk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /rk$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/20filter_by_secondaryState.spec.js:119:8)","diff":null},"uuid":"12bdb7eb-5fdb-44ed-8c04-8cfe8e9c58df","parentUUID":"716f1620-8cc1-4d99-9330-e66136f85dc5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["12bdb7eb-5fdb-44ed-8c04-8cfe8e9c58df"],"pending":[],"skipped":[],"duration":27985,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ad8858a8-e083-4579-854b-9aaa8ef8b2b5","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":"865ac6c9-be74-4e43-ae07-f5ca1bc7d8b5","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":24725,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#shipping_city').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Secondary City\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Secondary City\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Peshawar', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('peshawar');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Peshawar', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('peshawar');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('pes', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('pes');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('pes', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('pes');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('pe', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n pe/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('ar', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /ar$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/21filter_by_secondaryCity.spec.js:119:8)","diff":null},"uuid":"2aab0d42-894b-433d-995d-d15824d69b3f","parentUUID":"865ac6c9-be74-4e43-ae07-f5ca1bc7d8b5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2aab0d42-894b-433d-995d-d15824d69b3f"],"pending":[],"skipped":[],"duration":24725,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bb7ee375-2725-4813-adb7-6e717f2c3ceb","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":"7c1c042b-210f-4dc7-91e8-768885ddfda1","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":26209,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#shipping_postal_code').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim(); // if (spans.text() == \"Secondary Postal Code\") {\n if (text == \"Secondary Postal Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Secondary Postal Code\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('234546', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('234546');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('234546', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('234546');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('23', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('23');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('23', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('23');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('23', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n 23/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('46', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /46$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/22filter_by_secondaryPostalCode.spec.js:119:8)","diff":null},"uuid":"5abf5dba-177b-44d4-943f-ebe34f6fc7da","parentUUID":"7c1c042b-210f-4dc7-91e8-768885ddfda1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5abf5dba-177b-44d4-943f-ebe34f6fc7da"],"pending":[],"skipped":[],"duration":26209,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b8ea8944-8fc8-462a-b3bd-e9e3bedd872b","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":"9f2cf1d2-8bb3-40f1-a168-7ae392013e1c","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":23758,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#created_by').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Created By\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Created By\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[created_by]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get('#select2-created_by-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__option').first().click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('subscriptionflowadmin');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_by]\"]').select(\"isn't\", {\n force: true\n });\n cy.get('#select2-created_by-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__option').first().contains('SubscriptionFlow Admin').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('jamesliam');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/23filer_by_CreatedBy.spec.js:119:8)","diff":null},"uuid":"3723db6d-30d2-4f0b-b990-0fc5ceb60e8f","parentUUID":"9f2cf1d2-8bb3-40f1-a168-7ae392013e1c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3723db6d-30d2-4f0b-b990-0fc5ceb60e8f"],"pending":[],"skipped":[],"duration":23758,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cc3c3034-d479-4b45-b837-2bd0dcc4b600","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":"33695cd4-bf02-4261-8d0a-1f75ccba9397","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":25014,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({force:true}).then(()=>{\n// cy.contains('Edit Columns').click({force:true})\n// cy.get('#created_at').click({force:true})\n// cy.get('#push_right').click({force:true})\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({force:true})\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Created At\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Created At\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').scrollIntoView().should('be.visible').select('Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[created_at]\"]').type('02/02/2021');\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#listViewTableEl tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n var date = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM/DD/yyyy');\n expect(date).equal('02/02/2021'); //expect(elements.text()).to.include('02/02/2021')\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Before', {\n force: true\n });\n cy.get('input[name=\"filter_value[created_at]\"]').type('02/02/2021');\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#listViewTableEl tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n var year = Cypress.moment(dateString, 'MM/DD/yyyy').format('yyyy');\n var yearInt = parseInt(year);\n var month = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n var monthInt = parseInt(month);\n var date = Cypress.moment(dateString, 'MM/DD/yyyy').format('DD');\n var dateInt = parseInt(date);\n console.log(yearInt);\n console.log(monthInt);\n console.log(dateInt);\n if (yearInt < 2020) {\n expect(yearInt).to.be.lessThan(2020);\n } else if (yearInt == 2020) {\n if (monthInt < 9) {\n expect(monthInt).to.be.lessThan(9);\n } else if (monthInt == 9) {\n expect(dateInt).to.be.lessThan(29);\n }\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('After', {\n force: true\n });\n cy.get('input[name=\"filter_value[created_at]\"]').type('01/29/2021');\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#listViewTableEl tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n var year = Cypress.moment(dateString, 'MM/DD/yyyy').format('yyyy');\n var yearInt = parseInt(year);\n var month = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n var monthInt = parseInt(month);\n var date = Cypress.moment(dateString, 'MM/DD/yyyy').format('DD');\n var dateInt = parseInt(date);\n console.log(yearInt);\n console.log(monthInt);\n console.log(dateInt);\n if (yearInt > 2020) {\n expect(yearInt).to.be.greaterThan(2020);\n } else if (yearInt == 2020) {\n if (monthInt > 9) {\n expect(monthInt).to.be.greaterThan(9);\n } else if (monthInt == 9) {\n expect(dateInt).to.be.greaterThan(29);\n }\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Today', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#listViewTableEl tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var Todaydate = Cypress.moment().format('MM/DD/yyyy');\n var dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n var date = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM/DD/yyyy');\n expect(Todaydate).equal(date);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Yesterday', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#listViewTableEl tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM/DD/yyyy');\n var Todaydate = Cypress.moment().subtract(1, 'days').startOf('day');\n Todaydate = Cypress.moment(Todaydate, \"MM/DD/yyyy\").format('MM/DD/yyyy');\n expect(Todaydate).equal(datetxt);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Last Week', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#listViewTableEl tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var datetxt = new Date(dateString); //var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy hh:mm').format('MM/DD/yyyy hh:mm');\n var Today = Cypress.moment().format('MM/ddd/yyyy');\n console.log(Today);\n var date = Cypress.moment(Today, 'MM/ddd/yyyy')._i;\n console.log(date);\n date = date.replace(/[^[a-zA-Z]/g, '');\n if (date == 'Sun') {\n var Saturday = Cypress.moment().subtract(0, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(6, 'days').startOf('day');\n }\n if (date == 'Mon') {\n var Saturday = Cypress.moment().subtract(1, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(7, 'days').startOf('day');\n }\n if (date == 'Tue') {\n var Saturday = Cypress.moment().subtract(2, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(8, 'days').startOf('day');\n }\n if (date == 'Wed') {\n var Saturday = Cypress.moment().subtract(3, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(9, 'days').startOf('day');\n }\n if (date == 'Thu') {\n var Saturday = Cypress.moment().subtract(4, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(10, 'days').startOf('day');\n }\n if (date == 'Fri') {\n var Saturday = Cypress.moment().subtract(5, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(11, 'days').startOf('day');\n }\n if (date == 'Sat') {\n var Saturday = Cypress.moment().subtract(6, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(12, 'days').startOf('day');\n }\n Saturday = Cypress.moment(Saturday).format('MM/DD/yyyy');\n console.log(Saturday);\n Saturday = new Date(Saturday);\n Sunday = Cypress.moment(Sunday).format('MM/DD/yyyy');\n Sunday = new Date(Sunday);\n expect(datetxt).within(Sunday, Saturday);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Current Week', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#listViewTableEl tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var datetxt = new Date(dateString); //var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy hh:mm').format('MM/DD/yyyy hh:mm');\n var Today = Cypress.moment().format('MM/ddd/yyyy');\n var date = Cypress.moment(Today, 'MM/ddd/yyyy')._i;\n date = date.replace(/[^[a-zA-Z]/g, '');\n if (date == 'Sun') {\n var Saturday = Cypress.moment().add(6, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(0, 'days').startOf('day');\n }\n if (date == 'Mon') {\n var Saturday = Cypress.moment().add(5, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(1, 'days').startOf('day');\n }\n if (date == 'Tue') {\n var Saturday = Cypress.moment().add(4, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(2, 'days').startOf('day');\n }\n if (date == 'Wed') {\n var Saturday = Cypress.moment().add(3, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(3, 'days').startOf('day');\n }\n if (date == 'Thu') {\n var Saturday = Cypress.moment().add(2, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(4, 'days').startOf('day');\n }\n if (date == 'Fri') {\n var Saturday = Cypress.moment().add(1, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(5, 'days').startOf('day');\n }\n if (date == 'Sat') {\n var Saturday = Cypress.moment().add(0, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(6, 'days').startOf('day');\n }\n Saturday = Cypress.moment(Saturday, \"MM/DD/yyyy\").format('MM/DD/yyyy');\n Saturday = new Date(Saturday);\n Sunday = Cypress.moment(Sunday, \"MM/DD/yyyy\").format('MM/DD/yyyy');\n Sunday = new Date(Sunday);\n expect(datetxt).within(Sunday, Saturday);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Last Month', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#listViewTableEl tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var dateMonth = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n dateMonth = parseInt(dateMonth); //var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy hh:mm').format('MM/DD/yyyy hh:mm');\n var Today = Cypress.moment().format('MM/DD/yyyy');\n var month = Cypress.moment(Today, 'MM/ddd/yyyy').format('MM');\n console.log(month);\n if (month == 1) {\n month = 12;\n } else {\n month++;\n } // if(parseInt(dateMonth) < 10){\n // dateMonth = '0'+dateMonth\n // }\n\n expect(dateMonth).equal(month);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Current Month', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#listViewTableEl tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var dateMonth = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n dateMonth = parseInt(dateMonth); //var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy hh:mm').format('MM/DD/yyyy hh:mm');\n var Today = Cypress.moment().format('MM/DD/yyyy');\n var month = Cypress.moment(Today, 'MM/ddd/yyyy').format('MM');\n month = parseInt(month);\n expect(dateMonth).equal(month);\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/24filter_by_CreatedAt.spec.js:119:8)","diff":null},"uuid":"f8f78046-a4d4-4a28-a9de-40866996c3ea","parentUUID":"33695cd4-bf02-4261-8d0a-1f75ccba9397","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f8f78046-a4d4-4a28-a9de-40866996c3ea"],"pending":[],"skipped":[],"duration":25014,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1ac20ff5-f333-4297-9132-599a561b151a","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":"96627a26-3257-4962-954f-8c6924f87dac","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":23288,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#is_primary').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Is Primary\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Is Primary\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] svg\";\n cy.get('.filerSelect [name=\"filter_condition[is_primary]\"]').should('exist').select('is checked', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n cy.get(elements).should('have.class', 'fa-check');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[is_primary]\"]').select(\"is not checked\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n cy.get(elements).should('have.class', 'fa-times');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/25filter_by_isPrimary.spec.js:118:8)","diff":null},"uuid":"8cb6df3f-e9bd-4fd6-8048-98082f4f0a35","parentUUID":"96627a26-3257-4962-954f-8c6924f87dac","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8cb6df3f-e9bd-4fd6-8048-98082f4f0a35"],"pending":[],"skipped":[],"duration":23288,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"283738bb-7ed3-4c11-aed6-0c7187b2b0a0","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":"b929d306-6cb3-47e7-9c71-74e279cb8ae0","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":23190,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#data_source').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == 'Data Source') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes('Data Source')) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[data_source]\"').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('SubscriptionFlow', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('SubscriptionFlow');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[data_source]\"').should('be.visible').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('SubscriptionFlow', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.eq('SubscriptionFlow');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[data_source]\"').should('be.visible').select(\"contains\", {\n force: true\n });\n cy.get(y).type('Sub', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('Sub');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[data_source]\"').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('Sub', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.include('Sub');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[data_source]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('Sub', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n Sub/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[data_source]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('Sub', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /Sub$/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[data_source]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[data_source]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sf-listview-sidebar #search-form .search_form_container ul li label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/26filter_by_dataSource.spec.js:119:8)","diff":null},"uuid":"90b7156e-118a-4e6c-98b8-fbfdf558a801","parentUUID":"b929d306-6cb3-47e7-9c71-74e279cb8ae0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["90b7156e-118a-4e6c-98b8-fbfdf558a801"],"pending":[],"skipped":[],"duration":23190,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8ab78ba9-e00a-4bd5-bc99-8ca23a9416de","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":"e40665c0-ab08-48dd-be19-d9b8584fda73","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":12439,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/products\");\ncy.check();\ncy.contains('Create Product').click({\n force: true\n});\ncy.url().should('include', '/products/create');","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/en/dashboard' to include '/products/create'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://awais.subscriptionflow.com/en/dashboard' to include '/products/create'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/01-create_product_spec.js:106:14)","diff":null},"uuid":"f95e8651-d037-4337-aaa9-59f369c66e1f","parentUUID":"e40665c0-ab08-48dd-be19-d9b8584fda73","isHook":false,"skipped":false},{"title":"Fill the form and click CTA","fullTitle":"Create product Fill the form and click CTA","timedOut":null,"duration":12286,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"var todaysDate = Cypress.moment().format('MM/DD/YYYY');\nvar addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\nvar endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\ncy.wait(8000);\ncy.get('.select2-selection.select2-selection--multiple').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-plan_id-input-results li:first-child').click({\n force: true\n});\ncy.get('#type-input').select('Base Products', {\n force: true\n});\ncy.get('#name-input').type('cyp_test_product', {\n force: true\n});\ncy.get('#sku-input').type('cyp_test_product', {\n force: true\n});\ncy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n});\ncy.get('#effective_end_date-input').type(endDate, {\n force: true\n});\ncy.get('.col-md-12 > .btn-warning').contains('Save').click({\n force: true\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.select2-selection.select2-selection--multiple`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.select2-selection.select2-selection--multiple`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/01-create_product_spec.js:113:8)","diff":null},"uuid":"58aac778-c84d-4d53-a886-c0d54ea0b3ee","parentUUID":"e40665c0-ab08-48dd-be19-d9b8584fda73","isHook":false,"skipped":false},{"title":"I observe the product detail page, and verified created product","fullTitle":"Create product I observe the product detail page, and verified created product","timedOut":null,"duration":4215,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.location('pathname').should('include', 'product-detail');\ncy.get('#detail-title').should('contain', 'Cyp_test_product');","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected '/en/dashboard' to include 'product-detail'","estack":"AssertionError: Timed out retrying after 4000ms: expected '/en/dashboard' to include 'product-detail'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/01-create_product_spec.js:140:29)","diff":null},"uuid":"af906ebe-c981-4e1c-abc4-cb298126b237","parentUUID":"e40665c0-ab08-48dd-be19-d9b8584fda73","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f95e8651-d037-4337-aaa9-59f369c66e1f","58aac778-c84d-4d53-a886-c0d54ea0b3ee","af906ebe-c981-4e1c-abc4-cb298126b237"],"pending":[],"skipped":[],"duration":28940,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c2e73ef6-5a48-4588-88a5-b59af6f37194","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":"afc05266-6354-48aa-94b0-9bef6b1b04a0","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":22158,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/products\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('cyp_test_product', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).then(function (ele) {\n var prod = ele.prop('href');\n cy.visit(prod);\n });\n});\ncy.url().should('contain', 'product-detail');\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n cy.get('.badge').then(function (Plan1) {\n createPlan();\n cy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n });\n cy.get('.badge').then(function (Plan2) {\n var count = parseFloat(Plan1.text()) + 1;\n expect(count).to.eq(parseFloat(Plan2.text()));\n });\n });\n } else {\n createPlan();\n cy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n });\n cy.get('.badge').then(function (Plan2) {\n var count = 1;\n expect(count).to.eq(parseFloat(Plan2.text()));\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/02-add_product_plan_spec.js:104:8)","diff":null},"uuid":"7783dc46-b66d-4ba2-a6e2-0f6c7f1e6761","parentUUID":"afc05266-6354-48aa-94b0-9bef6b1b04a0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7783dc46-b66d-4ba2-a6e2-0f6c7f1e6761"],"pending":[],"skipped":[],"duration":22158,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"751c3018-1f01-408b-bc11-00ce11c4af93","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":"78a8a71b-f557-4986-b786-d08f2ce0973b","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":15595,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\ncy.wait(5000);\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().click();\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/01HPP_Trial_CreditCard_AuthorizeNet.spec.js:110:88)","diff":null},"uuid":"32a44673-0ad9-47e8-807f-f3b456afebe5","parentUUID":"78a8a71b-f557-4986-b786-d08f2ce0973b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["32a44673-0ad9-47e8-807f-f3b456afebe5"],"pending":[],"skipped":[],"duration":15595,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fd3be656-71a7-4dc5-8c6d-bca37b9716f8","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":"7d3c19d4-e77b-4fb6-b2a4-c2e22c1479e8","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":15847,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/02HPP_CreditCard_AuthorizeNet.spec.js:107:88)","diff":null},"uuid":"a9d21a43-5679-4942-b954-102241542a9b","parentUUID":"7d3c19d4-e77b-4fb6-b2a4-c2e22c1479e8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a9d21a43-5679-4942-b954-102241542a9b"],"pending":[],"skipped":[],"duration":15847,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e6373362-cd34-413b-a1d9-6c46b44e9557","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":"06abaf88-57bc-4715-a78b-00238a7e1e33","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":15154,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/03HPP_Trial_BankTransfer_AuthorizeNet.spec.js:107:88)","diff":null},"uuid":"2e6a342b-c146-4334-9e34-21e224fa82d8","parentUUID":"06abaf88-57bc-4715-a78b-00238a7e1e33","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2e6a342b-c146-4334-9e34-21e224fa82d8"],"pending":[],"skipped":[],"duration":15154,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dbaf18b5-996b-40ab-a3b7-9c600e752f59","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":"e683bc44-2f99-49e7-9f16-0bcfd365377f","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":18710,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/04HPP_BankTransfer_AuthorizeNet.spec.js:107:88)","diff":null},"uuid":"d0482e06-cbd2-4aeb-b926-27dda886145c","parentUUID":"e683bc44-2f99-49e7-9f16-0bcfd365377f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d0482e06-cbd2-4aeb-b926-27dda886145c"],"pending":[],"skipped":[],"duration":18710,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3b5e856c-d530-406c-b8a2-661f53e04cdb","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":"fa31679b-2fd9-4e52-9392-cb92f86cc39c","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":15247,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js:107:88)","diff":null},"uuid":"cebc2bab-71b4-46a5-8067-c5e1aff5afb0","parentUUID":"fa31679b-2fd9-4e52-9392-cb92f86cc39c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cebc2bab-71b4-46a5-8067-c5e1aff5afb0"],"pending":[],"skipped":[],"duration":15247,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5be8ed42-b55f-41d6-8b3f-8e0e92c7ac29","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":"edbe8bbb-5c1b-4e11-a71e-cac777f634f2","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":15472,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js:107:88)","diff":null},"uuid":"4b903fc7-b27e-43b7-8f59-5b063fad1578","parentUUID":"edbe8bbb-5c1b-4e11-a71e-cac777f634f2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4b903fc7-b27e-43b7-8f59-5b063fad1578"],"pending":[],"skipped":[],"duration":15472,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"915f76bb-5173-4da7-9cbd-ae553219d18f","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":"8b9924fe-3f14-4b58-8428-e4123dfc5b57","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":19581,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js:107:88)","diff":null},"uuid":"55a89864-4d24-4bc3-940e-677a56b1042e","parentUUID":"8b9924fe-3f14-4b58-8428-e4123dfc5b57","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["55a89864-4d24-4bc3-940e-677a56b1042e"],"pending":[],"skipped":[],"duration":19581,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"86186af9-7869-452e-ae08-b367bd819a42","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":"5f2b3080-0513-4daf-bb1c-80df8e2ae303","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":15353,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js:107:88)","diff":null},"uuid":"e1087baf-5efb-4c16-8137-7d5310904fb2","parentUUID":"5f2b3080-0513-4daf-bb1c-80df8e2ae303","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e1087baf-5efb-4c16-8137-7d5310904fb2"],"pending":[],"skipped":[],"duration":15353,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2ddc53e4-c528-4ebd-9209-fb97cd8f6a7c","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":"ce7e633a-3f5c-401f-b51b-fd7b38072cf6","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":15354,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-paypal.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/13HPP_Trial_PayPalExpressCheckout.spec.js:107:88)","diff":null},"uuid":"491b2278-6893-4ee8-88e8-1b1f3940c56d","parentUUID":"ce7e633a-3f5c-401f-b51b-fd7b38072cf6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["491b2278-6893-4ee8-88e8-1b1f3940c56d"],"pending":[],"skipped":[],"duration":15354,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"efdbb694-0790-46e3-b1ce-a0cc03905dee","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":"5994d1de-e6e0-4f7d-9193-9a765514488d","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":18713,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-paypal.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/14HPP_PayPalExpressCheckout.spec.js:107:88)","diff":null},"uuid":"c34fce12-adb1-4274-a55d-c7d1b45943e6","parentUUID":"5994d1de-e6e0-4f7d-9193-9a765514488d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c34fce12-adb1-4274-a55d-c7d1b45943e6"],"pending":[],"skipped":[],"duration":18713,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cc0af3ee-1e83-43d0-9764-6a66a3e681cc","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":"e2cf5546-57b9-4a06-8875-c4e5ff284403","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":17574,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get('#apps_flow').trigger('mouseover');\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().click();\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/01HPP_Trial_CreditCard_AuthorizeNet.spec.js:107:88)","diff":null},"uuid":"1fe8e3bc-60fb-4b80-a701-44c857440ff2","parentUUID":"e2cf5546-57b9-4a06-8875-c4e5ff284403","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1fe8e3bc-60fb-4b80-a701-44c857440ff2"],"pending":[],"skipped":[],"duration":17574,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5afb6464-a8d9-4537-9488-10aa5bc17ebb","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":"e74ed93b-bffd-4890-967f-531191fc4e88","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":15627,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/02HPP_CreditCard_AuthorizeNet.spec.js:107:88)","diff":null},"uuid":"80663155-7954-42a9-ba10-e26ff0eccee4","parentUUID":"e74ed93b-bffd-4890-967f-531191fc4e88","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["80663155-7954-42a9-ba10-e26ff0eccee4"],"pending":[],"skipped":[],"duration":15627,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"93b8a475-0b06-41a2-8d3d-05af46fd1937","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":"5270635d-4d3c-4a74-8984-8a97a2f8fd3a","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":19844,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/03HPP_Trial_BankTransfer_AuthorizeNet.spec.js:107:88)","diff":null},"uuid":"f0c90663-7fe9-4b5c-baee-f5b1a15b170e","parentUUID":"5270635d-4d3c-4a74-8984-8a97a2f8fd3a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f0c90663-7fe9-4b5c-baee-f5b1a15b170e"],"pending":[],"skipped":[],"duration":19844,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8681c2b3-a70b-40bd-88cd-988d814ab780","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":"2d926c85-5c6c-4c10-b918-7f561eba2f52","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":15781,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/04HPP_BankTransfer_AuthorizeNet.spec.js:107:88)","diff":null},"uuid":"b43d7859-4818-4543-80c8-d5d0f80b53d4","parentUUID":"2d926c85-5c6c-4c10-b918-7f561eba2f52","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b43d7859-4818-4543-80c8-d5d0f80b53d4"],"pending":[],"skipped":[],"duration":15781,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5f2eb0f5-6914-4702-85e3-9a4a3d6d9355","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":"34f29eb0-5919-4ae8-baf8-0c733b96fbbe","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":15035,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/07PP_Trial_CreditCard_Stripe.spec.js:107:88)","diff":null},"uuid":"a8723fff-cba1-4f52-93a1-ceb199a5d565","parentUUID":"34f29eb0-5919-4ae8-baf8-0c733b96fbbe","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a8723fff-cba1-4f52-93a1-ceb199a5d565"],"pending":[],"skipped":[],"duration":15035,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"63a9be13-99c1-4def-82a7-3af3302a512c","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":"68234c63-aa53-4beb-95c4-ee89dba28745","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":20583,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/08HPP_CreditCard_Stripe.spec.js:107:88)","diff":null},"uuid":"28c0d19c-1f37-4b14-a95b-06f59a411ff8","parentUUID":"68234c63-aa53-4beb-95c4-ee89dba28745","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["28c0d19c-1f37-4b14-a95b-06f59a411ff8"],"pending":[],"skipped":[],"duration":20583,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f34b7eee-34e9-4d5f-977a-f6818cc2b673","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":"a3006f6c-d6f4-491a-98f8-19475d58ce74","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":15601,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js:107:88)","diff":null},"uuid":"466d24e9-cbb2-4244-9f7a-7d13db809078","parentUUID":"a3006f6c-d6f4-491a-98f8-19475d58ce74","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["466d24e9-cbb2-4244-9f7a-7d13db809078"],"pending":[],"skipped":[],"duration":15601,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3e2df282-d85b-440d-83ca-219f21328cc1","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":"ba3d6e0b-2ad1-4ba2-8a8c-6b794d625a22","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":14967,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js:107:88)","diff":null},"uuid":"294bdc9c-751e-4d30-bb5a-d6a669145e80","parentUUID":"ba3d6e0b-2ad1-4ba2-8a8c-6b794d625a22","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["294bdc9c-751e-4d30-bb5a-d6a669145e80"],"pending":[],"skipped":[],"duration":14967,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b6d4978c-5998-45e7-811d-606290fb237e","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":"1eaf51e2-5374-4d10-8cd9-37d3ce59f7d7","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":25749,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-paypal.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/13HPP_Trial_PayPalExpressCheckout.spec.js:107:88)","diff":null},"uuid":"d83e18e1-1016-4503-9736-697fbbe28079","parentUUID":"1eaf51e2-5374-4d10-8cd9-37d3ce59f7d7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d83e18e1-1016-4503-9736-697fbbe28079"],"pending":[],"skipped":[],"duration":25749,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"48a1b4a1-5925-4e4b-acab-49eba0cb457b","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":"9fc45957-686c-4c02-8bbd-26664963909d","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":16219,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-paypal.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/14HPP_PayPalExpressCheckout.spec.js:107:88)","diff":null},"uuid":"9237ad20-5da2-4e7e-8abc-c03800701efd","parentUUID":"9fc45957-686c-4c02-8bbd-26664963909d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9237ad20-5da2-4e7e-8abc-c03800701efd"],"pending":[],"skipped":[],"duration":16219,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e932c76d-b2cd-4b85-8cbf-05c5a3343636","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":"a3b44f71-f989-4077-bf27-2a5d8f578b74","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":22567,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/products\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('cyp_test_product', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).then(function (ele) {\n var prod = ele.prop('href');\n cy.visit(prod);\n });\n});\ncy.url().should('contain', 'product-detail');\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n addPricing();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n addPricing();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/Plan%20Pricing/01-add_plan_detail_one_time_spec.js:104:8)","diff":null},"uuid":"94276978-8233-45d8-a184-951bc54ac854","parentUUID":"a3b44f71-f989-4077-bf27-2a5d8f578b74","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["94276978-8233-45d8-a184-951bc54ac854"],"pending":[],"skipped":[],"duration":22567,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0f295b42-5d43-4a87-8857-3250c1b60a5c","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":"37dfc50a-4933-4248-85ad-d5a74b0792b9","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":23562,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/products\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('cyp_test_product', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).then(function (ele) {\n var prod = ele.prop('href');\n cy.visit(prod);\n });\n});\ncy.url().should('contain', 'product-detail');\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n addPricing();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n addPricing();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/Plan%20Pricing/02-add_plan_detail_recurring_spec.js:104:8)","diff":null},"uuid":"5da3f16d-e2f7-4e4e-8a55-3fe0cda73c2b","parentUUID":"37dfc50a-4933-4248-85ad-d5a74b0792b9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5da3f16d-e2f7-4e4e-8a55-3fe0cda73c2b"],"pending":[],"skipped":[],"duration":23562,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ae8608c6-61e5-4cfc-a6de-223945468e51","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":"a66d3490-990b-4873-955d-facfd7966042","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":21950,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/products\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('cyp_test_product', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).then(function (ele) {\n var prod = ele.prop('href');\n cy.visit(prod);\n });\n});\ncy.url().should('contain', 'product-detail');\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n addPricing();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n addPricing();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/Plan%20Pricing/03-add_plan_detail_UOM_spec.js:104:8)","diff":null},"uuid":"88fdec96-28ab-41b6-ae5d-65a060e5a339","parentUUID":"a66d3490-990b-4873-955d-facfd7966042","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["88fdec96-28ab-41b6-ae5d-65a060e5a339"],"pending":[],"skipped":[],"duration":21950,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"15e2648a-3853-401c-857c-3ff5861e364b","title":"","fullFile":"cypress/integration/SF/f-plan/cancel-plan.js","file":"cypress/integration/SF/f-plan/cancel-plan.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"68c32a83-f5ff-4506-829f-343d33d68b83","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":15556,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/plans');\ncy.check();\ncy.contains('Create Plan').click({\n force: true\n});\ncy.url().should('include', '/plans/create');\nvar todaysDate = Cypress.moment().format('MM/DD/YYYY');\nvar addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\nvar endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\ncy.get('#name-input').type('cyp_test_plan');\ncy.wait(50);\ncy.location('pathname').should('include', 'plans');\ncy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n});\ncy.get('#effective_end_date-input').type(endDate, {\n force: true\n});\ncy.get('textarea[name=\"description\"]').type('this is description', {\n force: true\n});\ncy.get('a.btn').contains('Cancel').click({\n force: true\n});\ncy.url().should('include', '/plans');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Create Plan' but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Create Plan' but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/f-plan/cancel-plan.js:103:8)","diff":null},"uuid":"1c9a91a4-9251-475a-ae32-fd8fd81214ff","parentUUID":"68c32a83-f5ff-4506-829f-343d33d68b83","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1c9a91a4-9251-475a-ae32-fd8fd81214ff"],"pending":[],"skipped":[],"duration":15556,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bc27d724-2d16-47f0-9349-695019bf3a4c","title":"","fullFile":"cypress/integration/SF/f-plan/create-plan.js","file":"cypress/integration/SF/f-plan/create-plan.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"74f5a24e-0934-4db1-bfbc-614fb2ce4599","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":12637,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/plans');\ncy.check();\ncy.contains('Create Plan').click({\n force: true\n});\ncy.url().should('include', '/plans/create');\nvar todaysDate = Cypress.moment().format('MM/DD/YYYY');\nvar addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\nvar endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\ncy.get('#name-input').type('cyp_test_plan');\ncy.wait(50);\ncy.location('pathname').should('include', 'plans');\ncy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n});\ncy.get('#effective_end_date-input').type(endDate, {\n force: true\n});\ncy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n});\ncy.get('.col-md-12 > .btn-warning').click({\n force: true\n});\ncy.location('pathname').should('include', 'plan-detail');\ncy.get('#detail-title').should('contain', 'Cyp_test_plan');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Create Plan' but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Create Plan' but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/f-plan/create-plan.js:103:8)","diff":null},"uuid":"8647b02f-a370-446d-bb19-d4efb76e36c0","parentUUID":"74f5a24e-0934-4db1-bfbc-614fb2ce4599","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8647b02f-a370-446d-bb19-d4efb76e36c0"],"pending":[],"skipped":[],"duration":12637,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"10f87d15-985c-4f23-a772-8b294b24e660","title":"","fullFile":"cypress/integration/SF/g-coupon/cancel-coupon.js","file":"cypress/integration/SF/g-coupon/cancel-coupon.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"64629423-e4a3-42e0-a03f-5187560ccf5b","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":24344,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('.nav-link').contains('More').click();\ncy.get('.dropdown-menu a').contains('Coupon').click({\n force: true\n});\ncy.wait(8000);\ncy.get('span').contains('Create Coupon').click({\n force: true\n});\ncy.url().should('include', '/coupons/create');\ncy.get('#name-input').type('Noman', {\n force: true\n});\ncy.get('#code-input').type('A2%T-IY', {\n force: true\n});\ncy.get('#coupon_add_form textarea').type('Adding Coupon');\ncy.get('#availability-input').select('Regular');\ncy.get('#discount_type-input').select('Percentage');\ncy.get('#discount_value-input').type('50');\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#select2-plan_id-input-results').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#select2-plan_id-input-results li').eq(0).click({\n force: true\n});\ncy.get('#select2-assigned_to-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search--dropdown .select2-search__field').type('Test{downarrow} {enter}');\ncy.get('#apply_on_onetime-input').check({\n force: true\n});\ncy.get('#apply_on_recurring-input').check({\n force: true\n});\ncy.get('#apply_on_usage-input').check({\n force: true\n});\ncy.contains('Cancel').click({\n force: true\n});\ncy.url().should('include', '/coupons');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Create Coupon' within the element: [ <span.loading_Animation>, 94 more... ] but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Create Coupon' within the element: [ <span.loading_Animation>, 94 more... ] but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-coupon/cancel-coupon.js:108:20)","diff":null},"uuid":"6d7917cf-4a7b-4750-805f-f131de81adde","parentUUID":"64629423-e4a3-42e0-a03f-5187560ccf5b","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":25605,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('.nav-link').contains('More').click();\ncy.get('.dropdown-menu a').contains('Coupon').click({\n force: true\n});\ncy.wait(8000);\ncy.get('span').contains('Create Coupon').click({\n force: true\n});\ncy.url().should('include', '/coupons/create');\ncy.get('#name-input').type('Noman', {\n force: true\n});\ncy.get('#code-input').type('A2%T-IY', {\n force: true\n});\ncy.get('#coupon_add_form textarea').type('Adding Coupon');\ncy.get('#availability-input').select('Limited');\ncy.get('#available_from-input').should('be.visible');\ncy.get('#available_to-input').should('be.visible');\nvar todaysDate = Cypress.moment().format('MM/DD/YYYY');\nvar addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(10, 'days');\nvar endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\ncy.get('#available_from-input').type(todaysDate, {\n force: true\n});\ncy.get('#available_to-input').type(endDate, {\n force: true\n});\ncy.get('#discount_type-input').select('Percentage', {\n force: true\n});\ncy.get('#discount_value-input').type('50', {\n force: true\n});\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#select2-plan_id-input-results li').eq(0).click({\n force: true\n});\ncy.get('#select2-assigned_to-input-container').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.select2-search--dropdown .select2-search__field').type('Test{downarrow} {enter}');\ncy.get('#apply_on_onetime-input').check({\n force: true\n});\ncy.get('#apply_on_recurring-input').check({\n force: true\n});\ncy.get('#apply_on_usage-input').check({\n force: true\n});\ncy.contains('Cancel').click({\n force: true\n});\ncy.url().should('include', '/coupons');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Create Coupon' within the element: [ <span.loading_Animation>, 94 more... ] but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Create Coupon' within the element: [ <span.loading_Animation>, 94 more... ] but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-coupon/cancel-coupon.js:160:20)","diff":null},"uuid":"34ad3178-da71-49a1-ae94-ecdc7b4cd98c","parentUUID":"64629423-e4a3-42e0-a03f-5187560ccf5b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6d7917cf-4a7b-4750-805f-f131de81adde","34ad3178-da71-49a1-ae94-ecdc7b4cd98c"],"pending":[],"skipped":[],"duration":49949,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d333f4eb-046b-4e3b-9265-6de33a853331","title":"","fullFile":"cypress/integration/SF/g-coupon/create-coupon.js","file":"cypress/integration/SF/g-coupon/create-coupon.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ea0a3571-3fb9-4141-b4cb-2f3c155696c3","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":12077,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/coupons\");\ncy.check();\ncy.contains('Create Coupon').click({\n force: true\n});\ncy.url().should('include', '/coupons/create');\ncy.get('#code-input').type('ABC', {\n force: true\n});\ncy.get('#coupon_add_form textarea').type('Adding Coupon');\ncy.get('#availability-input').select('Regular');\ncy.get('#discount_type-input').select('Percentage');\ncy.get('#discount_value-input').type('50');\ncy.wait(10000);\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#select2-plan_id-input-results li').eq(0).click({\n force: true\n});\ncy.get('#apply_on_onetime-input').check({\n force: true\n});\ncy.get('#apply_on_recurring-input').check({\n force: true\n});\ncy.get('#apply_on_usage-input').check({\n force: true\n});\ncy.get('.col-md-12 > .btn-warning').click({\n force: true\n});\ncy.get('.invalid-feedback').contains('This Field is Required').should('be.visible');\ncy.get('#name-input').type('Test Coupon', {\n force: true\n});\ncy.get('.col-md-12 > .btn-warning').click({\n force: true\n});\ncy.url().should('include', '/coupon-detail');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Create Coupon' but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Create Coupon' but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-coupon/create-coupon.js:103:8)","diff":null},"uuid":"857f19d1-bc4a-47c8-a6f9-a31d45585ac7","parentUUID":"ea0a3571-3fb9-4141-b4cb-2f3c155696c3","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":11273,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/coupons\");\ncy.check();\ncy.contains('Create Coupon').click({\n force: true\n});\ncy.url().should('include', '/coupons/create');\ncy.get('#code-input').type('DEF', {\n force: true\n});\ncy.get('#coupon_add_form textarea').type('Adding Coupon');\ncy.get('#availability-input').select('Limited');\ncy.get('#available_from-input').should('be.visible');\ncy.get('#available_to-input').should('be.visible');\nvar todaysDate = Cypress.moment().format('MM/DD/YYYY');\nvar addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(10, 'days');\nvar endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\ncy.get('#available_from-input').type(todaysDate, {\n force: true\n});\ncy.get('#available_to-input').type(endDate, {\n force: true\n});\ncy.get('#discount_type-input').select('Percentage', {\n force: true\n});\ncy.get('#discount_value-input').type('50', {\n force: true\n});\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.wait(15000);\ncy.get('#select2-plan_id-input-results li').eq(0).click({\n force: true\n});\ncy.get('#apply_on_onetime-input').check({\n force: true\n});\ncy.get('#apply_on_recurring-input').check({\n force: true\n});\ncy.get('#apply_on_usage-input').check({\n force: true\n});\ncy.get('.col-md-12 > .btn-warning').click({\n force: true\n});\ncy.get('.invalid-feedback').contains('This Field is Required').should('be.visible');\ncy.get('#name-input').type('Test Coupon 2', {\n force: true\n});\ncy.get('.col-md-12 > .btn-warning').click({\n force: true\n});\ncy.url().should('include', '/coupon-detail');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Create Coupon' but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Create Coupon' but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-coupon/create-coupon.js:146:8)","diff":null},"uuid":"18009db6-5ff7-4641-97cc-d887430abdff","parentUUID":"ea0a3571-3fb9-4141-b4cb-2f3c155696c3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["857f19d1-bc4a-47c8-a6f9-a31d45585ac7","18009db6-5ff7-4641-97cc-d887430abdff"],"pending":[],"skipped":[],"duration":23350,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ebb2bf94-0a11-4477-a9fb-7664a3f61416","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":"9d0e5307-50cc-4660-9853-ecb044ccd36c","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":19170,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get(':nth-child(2) > .nav-link > .ml-auto > .svg-inline--fa > path').click({\n force: true\n});\ncy.get('form[id=\"Note-Form\"]').then(function (elem) {\n cy.get('textarea[id=\"note-description\"]').click({\n force: true\n });\n cy.get('.mob-left-3').contains(' Attach File').should('be.visible');\n cy.get('.mob-left-2').contains('Add a title').should('be.visible');\n cy.contains('Cancel').should('be.visible');\n cy.get('#save_note').contains('Save').should('be.visible'); // Check error only entering title and press Save button\n cy.get('.mob-left-2').contains('Add a title').click({\n force: true\n });\n cy.get('input[id=\"title\"]').click({\n force: true\n }).type('Tested Title Should Not Be Added', {\n force: true\n });\n cy.get('#save_note').contains('Save').click({\n force: true\n });\n cy.get('.invalid-feedback').should('contain', ' This Field is Required '); //...\n cy.wait(3000); // Check error, if note not added and press Save button\n cy.get('td').eq(0).then(function (elem) {\n cy.get('input[placeholder=\"Title\"]').first().should('be.visible').clear({\n force: true\n });\n });\n cy.get('td').eq(0).then(function (elem) {\n cy.get('textarea[placeholder=\"Add a Note\"]').first().click();\n });\n cy.get('button[id=\"save_note\"]').contains('Save').should('be.visible').click({\n force: true\n });\n cy.get('.invalid-feedback').should('contain', ' This Field is Required ');\n cy.wait(1000);\n}); // Adding and verify that the \n// title and note added are accurate\n//Adding note description without title\ncy.get('#note-description').should('be.visible').clear({\n force: true\n}).type(\"Note description, without title added successfully\", {\n force: true\n}).should('have.value', 'Note description, without title added successfully');\ncy.get('button[id=\"save_note\"]').contains('Save').should('be.visible').click({\n force: true\n});\ncy.wait(3000); //Adding note with title\ncy.get('td').eq(0).then(function (elem) {\n cy.get('input[placeholder=\"Title\"]').first().clear({\n force: true\n });\n});\ncy.get('td').eq(0).then(function (elem) {\n cy.get('input[placeholder=\"Title\"]').first().type('Add Title Successfully', {\n force: true\n }).should('have.value', 'Add Title Successfully');\n cy.get('#note-description').should('be.visible').clear({\n force: true\n }).type(\"Add note description successfully\", {\n force: true\n }).should('have.value', 'Add note description successfully');\n cy.get('button[id=\"save_note\"]').contains('Save').should('be.visible').click({\n force: true\n });\n cy.wait(5000);\n}); //...","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `td[data-sfuniqueid=\"dataTable__table-td-0\"] a`, but never found it.\n\nBecause this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `Add/Edit/Delete Notes`","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `td[data-sfuniqueid=\"dataTable__table-td-0\"] a`, but never found it.\n\nBecause this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `Add/Edit/Delete Notes`\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/01Add_Edit_Delete_Notes.spec.js:104:8)","diff":null},"uuid":"ea3f5c5f-6151-42f9-9b43-55d2997a84f2","parentUUID":"9d0e5307-50cc-4660-9853-ecb044ccd36c","isHook":false,"skipped":false},{"title":"Edit note, should be edit successfully","fullTitle":"Add/Edit/Delete Notes Edit note, should be edit successfully","timedOut":null,"duration":0,"state":"skipped","speed":null,"pass":false,"fail":false,"pending":false,"context":null,"code":"/*When I hover on the note\nThen I should be able to see \nthe edit and delete icons options*/\ncy.get('tbody[id=\"display-notes\"]').should('be.visible').within(function () {\n cy.get('tr[class=\"notes\"]').first().trigger('mouseover').should('be.visible').then(function () {\n cy.get('td').eq(2).then(function (elem) {\n cy.get('.pointer.delete-note.note-actions').first().should('be.visible');\n cy.get('.pointer.edit-note.note-actions.displaynone').first().click({\n force: true\n });\n });\n });\n});\n/*When I click on the Edit icon \nthe following CTAs will be there*/\ncy.get('table[class=\"edit-notes-table\"]').within(function () {\n cy.get('td').eq(0).then(function () {\n cy.get('.gray-text .m-left-3').contains(' Attach File').should('be.visible');\n cy.contains('Cancel').should('be.visible');\n cy.get('.save-note').contains('Save').should('be.visible');\n cy.get('.add-title').contains('Add a title').should('be.visible').click({\n force: true\n });\n });\n});\nvar title = \"Add Title Successfully\";\nvar note = \"Add note description successfully\";\ncy.get('table[class=\"edit-notes-table\"]').within(function () {\n /*the recent Title and Note will be exist*/\n // cy.get('td').eq(0).then(elem => {\n // cy.get('input[placeholder=\"Title\"]').first().should('have.value', title)\n // cy.get('textarea[placeholder=\"Add a Note\"]').first().should('have.value', note)\n // })\n /*clear the Title and Note, and new one */\n cy.get('td').eq(0).then(function (elem) {\n cy.get('input[placeholder=\"Title\"]').first().clear({\n force: true\n }).type('Edit Title Successfully', {\n force: true\n });\n cy.get('textarea[placeholder=\"Add a Note\"]').first().clear({\n force: true\n }).type(\"Edit note description successfully\", {\n force: true\n });\n cy.get('button[class=\"btn btn-create btn-sm save-note\"]').contains('Save').should('be.visible').click({\n force: true\n });\n cy.wait(5000);\n });\n});","err":{},"uuid":"846d6bf1-c267-4660-9a16-8c44244486b8","parentUUID":"9d0e5307-50cc-4660-9853-ecb044ccd36c","isHook":false,"skipped":true},{"title":"Delete note, should be deleted successfully","fullTitle":"Add/Edit/Delete Notes Delete note, should be deleted successfully","timedOut":null,"duration":0,"state":"skipped","speed":null,"pass":false,"fail":false,"pending":false,"context":null,"code":"cy.get('tbody[id=\"display-notes\"]').should('be.visible').within(function () {\n cy.get('tr[class=\"notes\"]').first().trigger('mouseover').should('be.visible').then(function () {\n cy.get('td').eq(2).then(function (elem) {\n cy.get('.pointer.delete-note.note-actions').first().should('be.visible').click({\n force: true\n });\n });\n });\n});\ncy.wait(5000);\ncy.get('form[id=\"deleteForm\"]').within(function () {\n cy.get('button[type=\"submit\"]').contains('Delete').click({\n force: true\n });\n});\ncy.wait(3000);\ncy.get('tbody[id=\"display-notes\"]').should('be.visible').within(function () {\n cy.get(':nth-child(2) > .font-weight-bold').should('not.exist', 'Edit Title Successfully');\n});","err":{},"uuid":"10a102c1-db12-4c74-ac61-3ad0dd0ac280","parentUUID":"9d0e5307-50cc-4660-9853-ecb044ccd36c","isHook":false,"skipped":true},{"title":"When I write text in the field, and click on Cancel button, the form should not be saved","fullTitle":"Add/Edit/Delete Notes When I write text in the field, and click on Cancel button, the form should not be saved","timedOut":null,"duration":0,"state":"skipped","speed":null,"pass":false,"fail":false,"pending":false,"context":null,"code":"var listingCount; //Check the length before adding text in the Note\ncy.get('tbody[id=\"display-notes\"]').then(function (ele) {\n if (ele.find('tr').length > 1) {\n cy.get('tbody[id=\"display-notes\"]').find('tr').then(function (tr) {\n listingCount = Cypress.$(tr).length;\n });\n }\n}); //Add some text, and the note should not be saved\ncy.get('form[id=\"Note-Form\"]').then(function (elem) {\n cy.get('textarea[id=\"note-description\"]').click({\n force: true\n }).type('Should not be saved', {\n force: true\n });\n cy.contains('Cancel').should('be.visible').click({\n force: true\n });\n}); //Check the length after press the Cancel button\ncy.get('tbody[id=\"display-notes\"]').then(function (ele) {\n if (ele.find('tr').length > 1) {\n cy.log('Actual length of tr is: ', listingCount);\n cy.get('tbody[id=\"display-notes\"]').find('tr').should('have.length', listingCount);\n }\n});","err":{},"uuid":"3cce9948-2005-4f57-b6f1-5815ccfb7b97","parentUUID":"9d0e5307-50cc-4660-9853-ecb044ccd36c","isHook":false,"skipped":true}],"suites":[],"passes":[],"failures":["ea3f5c5f-6151-42f9-9b43-55d2997a84f2"],"pending":[],"skipped":["846d6bf1-c267-4660-9a16-8c44244486b8","10a102c1-db12-4c74-ac61-3ad0dd0ac280","3cce9948-2005-4f57-b6f1-5815ccfb7b97"],"duration":19170,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"67238d66-699a-4d2e-b108-d3934ebd5b44","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":"fe3ad928-2b91-4ee7-b9e6-6b3d2596d0f1","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":20689,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"var firstText;\nvar normalizeText = function normalizeText(s) {\n return s.replace(/\\s/g, '').toLowerCase();\n};\ncy.get('.card-body > .d-flex > :nth-child(1) > p').should('be.visible');\ncy.get('.text-left > .btn-primary').should('contain', ' Generate Statement');\ncy.get('.text-left > .btn-warning').should('contain', ' Edit');\ncy.get('#myTab').within(function () {\n cy.get('li').eq(0).contains('Details', {\n matchCase: false\n });\n cy.get('li').eq(1).contains('History', {\n matchCase: false\n });\n});\ncy.get('.btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-menu.show a').eq(0).contains('Process Payment');\ncy.get('.dropdown-menu.show a').eq(1).contains('Print Preview');\ncy.get('.dropdown-menu.show a').eq(2).contains('Delete');\ncy.get(':nth-child(1) > .col-lg > .ls').should('be.visible').contains('Basic Information');\ncy.get(':nth-child(2) > .col-lg > .ls').contains('Address Information');\ncy.get(':nth-child(1) > .nav-item > .d-flex > .nav-link-text').should('contain', 'Quick Links');\ncy.get('.mb-2 > .nav-link > span').should('contain', 'Timeline');\ncy.get(':nth-child(3) > :nth-child(2) > .nav-link > :nth-child(1)').should('contain', 'Notes');\ncy.get('.nav-link > .nav-link-text').should('contain', 'Related List');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `td[data-sfuniqueid=\"dataTable__table-td-0\"] a`, but never found it.\n\nBecause this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Customer Detail View`","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `td[data-sfuniqueid=\"dataTable__table-td-0\"] a`, but never found it.\n\nBecause this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Customer Detail View`\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/02Customer_Detail_View.spec.js:104:8)","diff":null},"uuid":"ccf35c0c-e61d-4204-b032-4d8f8417914e","parentUUID":"fe3ad928-2b91-4ee7-b9e6-6b3d2596d0f1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ccf35c0c-e61d-4204-b032-4d8f8417914e"],"pending":[],"skipped":[],"duration":20689,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"96d7defe-1b3b-4e6c-bd05-7d188b54ed6c","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":"da094e1e-a8eb-4557-83e3-063fd9fa2ba7","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":19239,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"var firstText;\ncy.get('.page-title').should('be.visible').then(function ($first) {\n // save text from the first element\n firstText = $first.text().trim();\n cy.log('Name is: ', firstText);\n}); // cy.()\ncy.get('.text-md-right.mt-3.mt-md-0.detail-top-btn .actions-dropdown').within(function () {\n cy.get('.detail-btn-bars.btn-import.mob-btn-import').should('be.visible').click({\n force: true\n });\n cy.get('ul li').eq(2).contains('Delete').should('be.visible').click({\n force: true\n });\n});\ncy.wait(3000);\ncy.get('#deleteForm').within(function () {\n cy.get('.modal-header .modal-title').contains('Delete').should('be.visible');\n cy.get('.modal-footer > .btn-secondary').contains('Cancel').should('be.visible');\n cy.get('.modal-footer > .btn-create').contains('Delete').should('be.visible').click(); // cy.wait(33000)\n}); // cy.go(-1)\n// cy.url().should('include', '/en/customers')\ncy.wait(25000); //After deleting checking, if customer exists\ncy.get('td[data-sfuniqueid=\"dataTable__table-td-0\"] a').each(function ($ele) {\n expect($ele.text().trim()).to.not.equal(firstText);\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `td[data-sfuniqueid=\"dataTable__table-td-0\"] a`, but never found it.\n\nBecause this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Delete Customer`","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `td[data-sfuniqueid=\"dataTable__table-td-0\"] a`, but never found it.\n\nBecause this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Delete Customer`\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/03Delete_customer_from_customer_details.spec.js:104:8)","diff":null},"uuid":"58b8bc98-9c3d-4101-a094-39c7ae08eef6","parentUUID":"da094e1e-a8eb-4557-83e3-063fd9fa2ba7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["58b8bc98-9c3d-4101-a094-39c7ae08eef6"],"pending":[],"skipped":[],"duration":19239,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8ae23682-31ff-41d8-8ac3-38501b836cbb","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":"ddb21219-f379-4d34-b759-c846be655c2a","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":18949,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get('#related-modal').should('have.css', 'opacity', '0');\ncy.get('aside[id=\"mySidenav\"] .nav-wrapper ul .related-list > .nav-link').contains('Related List').trigger('mouseover').should('be.visible');\ncy.get('.related-list > .nav-link .show-cog .fa-cog').should('be.visible').click({\n force: true\n}).then(function () {\n cy.wait(7000);\n cy.get('.row > :nth-child(1) > h5').contains(' Unselected List: ');\n cy.get('[style=\"overflow-y: auto;\"] > h5').contains(' Selected List: ');\n cy.wait(2000);\n cy.get('#related_module_list').should('be.visible'); // select an element from the Unselected list\n // and send it to the selected list\n cy.get('#relatedModule').then(function (ele) {\n if (ele.find('option').length > 0) {\n cy.get('#relatedModule option').each(function (el) {\n if (el.text().includes('Customers')) {\n cy.get('#relatedModule').select('Customers', {\n force: true\n }).should('contain', 'Customers');\n cy.get('#relatedModule_rightSelected').should('be.visible').click({\n force: true\n });\n cy.wait(1000);\n get = false;\n } else {\n get = true;\n }\n });\n }\n if (get) {\n cy.get('#related_module_list #relatedModule_to').select('Customers', {\n force: true\n }).should('contain', 'Customers');\n cy.get('#relatedModule_leftSelected').should('be.visible').click({\n force: true\n });\n cy.wait(1000);\n cy.get('#relatedModule').select('Customers', {\n force: true\n }).should('contain', 'Customers');\n cy.get('#relatedModule_rightSelected').should('be.visible').click({\n force: true\n });\n cy.wait(1000);\n }\n });\n cy.wait(1000);\n cy.get('#related_module_list > .modal-footer > .btn-create').contains('Save').click({\n force: true\n });\n cy.wait(7000);\n}); //Check element exist in aside nav\ncy.get('aside[id=\"mySidenav\"] .nav-wrapper ul li').should('contain', ' Customers '); // ...\n// select an element from the selected list\n// and send it to the Unselected list\ncy.get('.related-list > .nav-link .show-cog .fa-cog').click({\n force: true\n}).then(function () {\n cy.wait(7000);\n cy.get('#related_module_list').should('be.visible');\n cy.get('#relatedModule_to').then(function (ele) {\n if (ele.find('option')) {\n cy.get('#relatedModule_to option').each(function (el) {\n if (el.text().includes('Emails')) {\n cy.get('#relatedModule_to').select('Emails', {\n force: true\n }).should('contain', 'Emails');\n cy.get('#relatedModule_leftSelected').should('be.visible').click({\n force: true\n });\n getNow = false;\n return false;\n } else {\n getNow = true;\n }\n }).then(function () {\n if (getNow) {\n cy.get('#related_module_list #relatedModule').select('Emails', {\n force: true\n }).should('contain', 'Emails');\n cy.get('#relatedModule_rightSelected').should('be.visible').click({\n force: true\n }); // cy.wait(1000)\n cy.get('#relatedModule_to').select('Emails', {\n force: true\n }).should('contain', 'Emails');\n cy.get('#relatedModule_leftSelected').should('be.visible').click({\n force: true\n });\n }\n });\n }\n }); // cy.get('#relatedModule_to').select('Emails', {force:true}).should('contain', 'Emails')\n // cy.get('#relatedModule_leftSelected').should('be.visible').click({ force: true })\n cy.wait(1000);\n cy.get('#related_module_list > .modal-footer > .btn-create').contains('Save').click({\n force: true\n });\n cy.wait(7000); //Check element not exist in aside nav\n cy.get('aside[id=\"mySidenav\"] .nav-wrapper ul li').should('not.contain', ' Emails '); // ...\n cy.get('.related-list > .nav-link .show-cog .fa-cog').click({\n force: true\n }).then(function () {\n cy.wait(7000);\n cy.get('#related_module_list').should('be.visible');\n cy.get('#related_module_list > .modal-body > .row > [style=\"flex-flow: column\"]').should('be.visible').then(function () {\n cy.get('#relatedModule_leftAll').should('be.visible').click({\n force: true\n });\n });\n cy.wait(1500);\n cy.get('#related_module_list > .modal-footer > .btn-create').contains('Save').click({\n force: true\n });\n });\n cy.wait(7000);\n var selectAll = 22;\n var selectNone = 4;\n cy.get('aside[id=\"mySidenav\"] .nav-wrapper ul').then(function (ele) {\n if (ele.find('li').length == selectNone) {\n cy.get('aside[id=\"mySidenav\"] .nav-wrapper ul').find('li').should('have.length', selectNone);\n }\n });\n cy.get('.related-list > .nav-link .show-cog .fa-cog').click({\n force: true\n }).then(function () {\n cy.wait(7000);\n cy.get('#related_module_list').should('be.visible');\n cy.get('#related_module_list > .modal-body > .row > [style=\"flex-flow: column\"]').should('be.visible').then(function () {\n cy.get('#relatedModule_rightAll').should('be.visible').click({\n force: true\n });\n });\n cy.wait(3000);\n cy.get('#related_module_list > .modal-footer > .btn-create').contains('Save').click({\n force: true\n });\n });\n cy.wait(7000);\n cy.get('aside[id=\"mySidenav\"] .nav-wrapper ul').then(function (ele) {\n if (ele.find('li').length == selectAll) {\n cy.get('aside[id=\"mySidenav\"] .nav-wrapper ul').find('li').should('have.length', selectAll);\n }\n }); //Change element arrangement\n cy.get('.related-list > .nav-link .show-cog .fa-cog').click({\n force: true\n }).then(function () {\n cy.wait(7000);\n cy.get('#related_module_list #relatedModule_to').select('Emails', {\n force: true\n }).should('contain', 'Emails');\n for (var i = 0; i < 17; i++) {\n cy.get('#relatedModule_move_up').click({\n force: true\n });\n }\n cy.wait(1000);\n cy.get('#related_module_list > .modal-footer > .btn-create').contains('Save').click({\n force: true\n }); // change plan upgrade\n });\n cy.wait(7000);\n cy.get('aside[id=\"mySidenav\"] .nav-wrapper ul li').eq(4).should('contain', 'Emails');\n /*When I click on any of the \n related list options like Email\n Then I should be navigated to that section*/\n cy.get('aside[id=\"mySidenav\"] .nav-wrapper ul li').eq(4).contains('Emails').click({\n force: true\n });\n cy.get('#Emails-subpanel > .card-header > h5').should('have.class', 'related_list_focus');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `td[data-sfuniqueid=\"dataTable__table-td-0\"] a`, but never found it.\n\nBecause this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `Check Related List`","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `td[data-sfuniqueid=\"dataTable__table-td-0\"] a`, but never found it.\n\nBecause this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `Check Related List`\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/04Check_Related_List.spec.js:104:8)","diff":null},"uuid":"5efb7b46-4069-4d16-a5e0-af8524e373f7","parentUUID":"ddb21219-f379-4d34-b759-c846be655c2a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5efb7b46-4069-4d16-a5e0-af8524e373f7"],"pending":[],"skipped":[],"duration":18949,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fb4c7227-f1d0-49d3-9d87-542f9fcdc9ba","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":"059c4a25-fb18-4de2-b22c-dca410c79344","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":20419,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(7000);\ncy.get('#appflow_popup').trigger('mouseover').then(function () {\n console.log('hello');\n cy.get('span[class=\"mt-1 app-flow-content--item__text\"] a').contains('PaymentsFlow').invoke('removeAttr', 'target').click({\n force: true\n }); // cy.get('')\n});\ncy.url().should('include', 'en/apps/paymentsflow', {\n timeout: 10000\n});\ncy.get(':nth-child(3) > .nav-link > .nav-link-text').click({\n force: true\n});\ncy.url().should('include', '/checkout-pages', {\n timeout: 1000\n});\ncy.get('.card-title').should('contain', 'Designer').click({\n force: true\n});\ncy.get('#tab-pcp-designer-license-labels', {\n timeout: 10000\n}).click({\n force: true\n});\ncy.get('#tab-pcp-designer-license-labels-container').within(function () {\n cy.get('.form-group input').eq(2).clear({\n force: true\n }).type('https://www.subscriptionflow.com/terms-and-conditions/', {\n force: true\n });\n cy.get('button').contains('Save Changes').click({\n force: true\n });\n}); // After change\ncy.visit(\"/en/customers\");\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#PaymentMethod-subpanel > .card-header > .pull-right > .mr-3').invoke('removeAttr', 'target').click({\n force: true\n});\ncy.url().should('include', '/en/public-checkout/', {\n timeout: 10000\n}); //\ncy.get('#sc_pcp-chk-subscribe_el_tos').invoke('removeAttr', 'target').click({\n force: true\n});\ncy.url().should('include', '/terms-and-conditions/', {\n timeout: 10000\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#appflow_popup`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#appflow_popup`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/05Verify_Terms_of_Service_link.spec.js:105:8)","diff":null},"uuid":"82ede3e8-501c-40aa-9f77-0d71f29836f3","parentUUID":"059c4a25-fb18-4de2-b22c-dca410c79344","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["82ede3e8-501c-40aa-9f77-0d71f29836f3"],"pending":[],"skipped":[],"duration":20419,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b5267e56-ce2a-4d64-a813-2ef26e4099f7","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":"8913f653-c67d-4a85-bd17-888c6bffc5f8","title":"Privacy Policy","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Verify \"Privacy Policy\" link","fullTitle":"Privacy Policy Verify \"Privacy Policy\" link","timedOut":null,"duration":19219,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(7000);\ncy.get('#appflow_popup').trigger('mouseover').then(function () {\n console.log('hello');\n cy.get('span[class=\"mt-1 app-flow-content--item__text\"] a').contains('PaymentsFlow').invoke('removeAttr', 'target').click({\n force: true\n }); // cy.get('')\n});\ncy.url().should('include', 'en/apps/paymentsflow', {\n timeout: 10000\n});\ncy.get(':nth-child(3) > .nav-link > .nav-link-text').click({\n force: true\n});\ncy.url().should('include', '/checkout-pages', {\n timeout: 1000\n});\ncy.get('.card-title').should('contain', 'Designer').click({\n force: true\n});\ncy.get('#tab-pcp-designer-license-labels', {\n timeout: 10000\n}).click({\n force: true\n});\ncy.get('#tab-pcp-designer-license-labels-container').within(function () {\n cy.get('.form-group input').eq(3).clear({\n force: true\n }).type('https://www.subscriptionflow.com/privacypolicy', {\n force: true\n });\n cy.get('button').contains('Save Changes').click({\n force: true\n });\n}); // After change\ncy.visit(\"/en/customers\");\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#PaymentMethod-subpanel > .card-header > .pull-right > .mr-3').invoke('removeAttr', 'target').click({\n force: true\n});\ncy.url().should('include', '/en/public-checkout/', {\n timeout: 10000\n}); //\ncy.get('#sc_pcp-chk-subscribe_el_pp').invoke('removeAttr', 'target').click({\n force: true\n});\ncy.url().should('include', 'https://www.subscriptionflow.com/privacypolicy', {\n timeout: 10000\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#appflow_popup`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#appflow_popup`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/06Verify_Privacy_Policy_link.spec.js:105:8)","diff":null},"uuid":"67f997c8-6861-4665-bbf6-4ae65dd12501","parentUUID":"8913f653-c67d-4a85-bd17-888c6bffc5f8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["67f997c8-6861-4665-bbf6-4ae65dd12501"],"pending":[],"skipped":[],"duration":19219,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"32caeb66-5e63-4458-b75b-e045aa6c2454","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":"8c4ce396-ea63-4801-b83b-faee60da29fc","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":27830,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.integration-box-item strong').contains('Authorize.Net').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .mr-3').invoke('removeAttr', 'target').click({\n force: true\n});\naddPublicPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.integration-box-item strong`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.integration-box-item strong`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/07Verify_SubscriptionFlow_link.spec.js:118:8)","diff":null},"uuid":"dc1bb2de-24d6-4b26-a33c-73f1062e2928","parentUUID":"8c4ce396-ea63-4801-b83b-faee60da29fc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dc1bb2de-24d6-4b26-a33c-73f1062e2928"],"pending":[],"skipped":[],"duration":27830,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cc63575a-bffa-4cb7-a75f-13315b2e99ad","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":"c27416cf-a263-4b83-b25f-315b935875da","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":22737,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"testData.forEach(function (testCase) {\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n addPaymentMethod();\n addPaymentMethod2();\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(15000);\n addPaymentMethod();\n addPaymentMethod2();\n }\n });\n function addPaymentMethod() {\n cy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .create-center-modal').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#payment-gateway-input').select('Authorize.Net', {\n force: true\n });\n cy.wait(3000);\n cy.get('.modal-content h5').contains('Account Holder Information').should('exist');\n cy.get('.modal-content h5').contains('Billing Address Information').should('exist');\n cy.get('.modal-content h5').contains('Account Information').should('exist');\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(7000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(7000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(7000);\n cy.get('#select2-billing_city-input-results li').first().click({\n force: true\n });\n cy.get('#card_number-input').type('4111111111111112');\n cy.get('#expiry_month-input').select('10', {\n force: true\n }).should('have.value', '10');\n cy.get('#expiry_year-input').select('2027', {\n force: true\n }).should('have.value', '2027');\n cy.get('#card_cvv-input').type('abc');\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.get('#authorizenet_errors').should('be.visible').and(function ($element) {\n expect($element.text()).to.include('Please provide valid credit card number.');\n expect($element.text()).to.include('Please provide valid CVV.');\n });\n cy.get('#card_number-input').clear().type(\"\".concat(testCase.card_no));\n cy.get('#card_cvv-input').clear().type('123');\n cy.wait(3000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#center-modal > .modal-dialog > .modal-content > .modal-header > .close').click({\n force: true\n });\n var h = 0;\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer th').each(function (heading, index) {\n if (heading.text().includes('Source')) {\n h = '#relatedList-bulk-action-PaymentMethod_Customer [data-sfuniqueid = \"dataTable__table-td-' + (index - 1) + '\"]';\n cy.get(h).first().then(function (source) {\n expect(source.text()).to.contain(\"\".concat(testCase.source));\n });\n }\n });\n cy.get('#related-table-paymentmethod .recordsCount').eq(0).then(function (count) {\n expect(count.text()).to.include('Showing 1 - 1 of 1 entries');\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer td svg').eq(0).should('have.class', 'fa-check');\n }\n function addPaymentMethod2() {\n cy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .create-center-modal').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#payment-gateway-input').select('Authorize.Net');\n cy.wait(3000);\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(5000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(5000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-billing_city-input-results li').first().click({\n force: true\n });\n cy.get('#card_number-input').type('4111111111111111');\n cy.get('#expiry_month-input').select('01', {\n force: true\n }).should('have.value', '01');\n cy.get('#expiry_year-input').select('2028', {\n force: true\n }).should('have.value', '2028');\n cy.get('#card_cvv-input').type('123');\n cy.wait(3000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#center-modal > .modal-dialog > .modal-content > .modal-header > .close').click({\n force: true\n });\n cy.get('#related-table-paymentmethod .recordsCount').eq(0).then(function (count) {\n expect(count.text()).to.include('Showing 1 - 2 of 2 entries');\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer td svg').eq(0).should('have.class', 'fa-check');\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer td svg').eq(1).should('not.have.class', 'fa-check');\n cy.wait(5000);\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.\n\nBecause this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Add Payment Method`","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.\n\nBecause this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Add Payment Method`\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/01Add_Payment_CreditCard_AuthorizeNet_part_1.spec.js:118:8)","diff":null},"uuid":"b5c62614-b1a7-4dc1-8550-a44ff3701ba6","parentUUID":"c27416cf-a263-4b83-b25f-315b935875da","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b5c62614-b1a7-4dc1-8550-a44ff3701ba6"],"pending":[],"skipped":[],"duration":22737,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d3cb26b1-75af-457e-a804-1e2e1cb63cb9","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":"cf1ca4bd-fd3e-41a1-9ec0-fd65f651e15c","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":22199,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"testData.forEach(function (testCase) {\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n addPaymentMethod();\n addPaymentMethod2();\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(15000);\n addPaymentMethod();\n addPaymentMethod2();\n }\n });\n function addPaymentMethod() {\n cy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .create-center-modal').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#payment-gateway-input').select('Authorize.Net', {\n force: true\n });\n cy.wait(3000);\n cy.get('.modal-content h5').contains('Account Holder Information').should('exist');\n cy.get('.modal-content h5').contains('Billing Address Information').should('exist');\n cy.get('.modal-content h5').contains('Account Information').should('exist');\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(5000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(5000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-billing_city-input-results li').first().click({\n force: true\n });\n cy.get('#card_number-input').type('4111111111111112');\n cy.get('#expiry_month-input').select('10', {\n force: true\n }).should('have.value', '10');\n cy.get('#expiry_year-input').select('2027', {\n force: true\n }).should('have.value', '2027');\n cy.get('#card_cvv-input').type('abc');\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.get('#authorizenet_errors').should('be.visible').and(function ($element) {\n expect($element.text()).to.include('Please provide valid credit card number.');\n expect($element.text()).to.include('Please provide valid CVV.');\n });\n cy.get('#card_number-input').clear().type(\"\".concat(testCase.card_no));\n cy.get('#card_cvv-input').clear().type('123');\n cy.wait(3000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#center-modal > .modal-dialog > .modal-content > .modal-header > .close').click({\n force: true\n });\n var h = 0;\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer th').each(function (heading, index) {\n if (heading.text().includes('Source')) {\n h = '#relatedList-bulk-action-PaymentMethod_Customer [data-sfuniqueid = \"dataTable__table-td-' + (index - 1) + '\"]';\n cy.get(h).first().then(function (source) {\n expect(source.text()).to.contain(\"\".concat(testCase.source));\n });\n }\n });\n cy.get('#related-table-paymentmethod .recordsCount').eq(0).then(function (count) {\n expect(count.text()).to.include('Showing 1 - 1 of 1 entries');\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer td svg').eq(0).should('have.class', 'fa-check');\n }\n function addPaymentMethod2() {\n cy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .create-center-modal').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#payment-gateway-input').select('Authorize.Net');\n cy.wait(3000);\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(5000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(5000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-billing_city-input-results li').first().click({\n force: true\n });\n cy.get('#card_number-input').type('4111111111111111');\n cy.get('#expiry_month-input').select('01', {\n force: true\n }).should('have.value', '01');\n cy.get('#expiry_year-input').select('2028', {\n force: true\n }).should('have.value', '2028');\n cy.get('#card_cvv-input').type('123');\n cy.wait(3000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#center-modal > .modal-dialog > .modal-content > .modal-header > .close').click({\n force: true\n });\n cy.get('#related-table-paymentmethod .recordsCount').eq(0).then(function (count) {\n expect(count.text()).to.include('Showing 1 - 2 of 2 entries');\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer td svg').eq(0).should('have.class', 'fa-check');\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer td svg').eq(1).should('not.have.class', 'fa-check');\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.\n\nBecause this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Add Payment Method`","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.\n\nBecause this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Add Payment Method`\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/01Add_Payment_CreditCard_AuthorizeNet_part_2.spec.js:118:8)","diff":null},"uuid":"880db4e0-7781-492a-a660-3dde067a4903","parentUUID":"cf1ca4bd-fd3e-41a1-9ec0-fd65f651e15c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["880db4e0-7781-492a-a660-3dde067a4903"],"pending":[],"skipped":[],"duration":22199,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bce31443-ce8b-4a6c-bc88-a9b45652d8da","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":"283317d4-d8ee-4a9f-bcea-162708d39369","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":22641,"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: 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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/01Add_Payment_CreditCard_AuthorizeNet.spec.js:104:8)","diff":null},"uuid":"96d3a050-a59f-43a5-821c-a350f78f54f5","parentUUID":"283317d4-d8ee-4a9f-bcea-162708d39369","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["96d3a050-a59f-43a5-821c-a350f78f54f5"],"pending":[],"skipped":[],"duration":22641,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3442c2cb-e1ad-4fe2-8a95-078b084d708e","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":"479c9ad3-818e-4ec9-92b8-4bc61c71c7b8","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":22054,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n cy.get('.nav-wrapper').its('length').then(function (len) {\n if (len > 1) {\n cy.log(\"length here\" + len);\n } else {\n cy.get('.related-list').trigger('mouseover');\n cy.get('.ml-auto.show-cog.test-pull-right.cursor_p .fa-cog').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#relatedModule_rightAll').click({\n force: true\n });\n cy.get('#related_module_list > .modal-footer > .btn-create').click({\n force: true\n });\n cy.wait(10000);\n }\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n addPaymentMethod();\n addPaymentMethod2();\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(20000);\n addPaymentMethod();\n addPaymentMethod2();\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/02Add_Payment_BankTransfer_AuthorizeNet.spec.js:104:8)","diff":null},"uuid":"85999cc6-720a-4058-8519-f74c55dcd6d6","parentUUID":"479c9ad3-818e-4ec9-92b8-4bc61c71c7b8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["85999cc6-720a-4058-8519-f74c55dcd6d6"],"pending":[],"skipped":[],"duration":22054,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ab37b73b-0bcb-4d14-a88c-f6f29a76ea87","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":"dc5d88e9-8ca3-4794-9194-6ae2a0ade5bf","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":15578,"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: `[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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/03Add_10_Authorize.Net_Payment.spec.js:106:8)","diff":null},"uuid":"64d99401-140e-4cfc-be1f-683dd4774a31","parentUUID":"dc5d88e9-8ca3-4794-9194-6ae2a0ade5bf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["64d99401-140e-4cfc-be1f-683dd4774a31"],"pending":[],"skipped":[],"duration":15578,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6a6256c7-48b1-421f-aa4f-24e56dbe89ed","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":"227cd9db-897e-44cf-b009-e1749deee972","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":22237,"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: 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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/04Add_Payment_CreditCard_Stripe.spec.js:104:8)","diff":null},"uuid":"7c980e19-7ce7-4f1e-ba11-2ef0f71f9dcd","parentUUID":"227cd9db-897e-44cf-b009-e1749deee972","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7c980e19-7ce7-4f1e-ba11-2ef0f71f9dcd"],"pending":[],"skipped":[],"duration":22237,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c195c991-b3ff-413a-8c49-a3b7d72554f5","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":"e037f392-c870-40ca-8029-f39bd3cf3179","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":22096,"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: 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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/05Add_Payment_BankTransfer_Stripe.spec.js:107:8)","diff":null},"uuid":"3d3f1fa8-4e7b-4688-a5e6-ec3087b2055f","parentUUID":"e037f392-c870-40ca-8029-f39bd3cf3179","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3d3f1fa8-4e7b-4688-a5e6-ec3087b2055f"],"pending":[],"skipped":[],"duration":22096,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4e48e353-9a89-45e0-a944-4c45d060f32d","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":"0698f4c4-7e1e-49f3-8ba4-db9541fdee5c","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":22468,"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: 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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/06Add_Payment_GoCardless.spec.js:104:8)","diff":null},"uuid":"3a93cc59-edec-474c-9808-9dac0f891944","parentUUID":"0698f4c4-7e1e-49f3-8ba4-db9541fdee5c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3a93cc59-edec-474c-9808-9dac0f891944"],"pending":[],"skipped":[],"duration":22468,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"394083ae-75e9-4483-9cb8-56ea3e5a8a0f","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":"fe73094e-fcbb-4fdb-9da1-eefcfcfc9aa3","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":22122,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n addPaymentMethod();\n addPaymentMethod2();\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n cy.reload();\n addPaymentMethod();\n addPaymentMethod2();\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/07Add_Payment_PayPalExpress.spec.js:104:8)","diff":null},"uuid":"34c7e9d6-2956-40dc-a18d-cced03324a06","parentUUID":"fe73094e-fcbb-4fdb-9da1-eefcfcfc9aa3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["34c7e9d6-2956-40dc-a18d-cced03324a06"],"pending":[],"skipped":[],"duration":22122,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b8a8bfde-bc6b-40ce-a230-31c0fea81d3d","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":"2a6edd11-0cfe-424e-88fc-c26bd9c0da04","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":28699,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n addPaymentMethod();\n cy.get('#related-table-paymentmethod .sf-pagination-wrapper span.bold').eq(0).then(function (count) {\n expect(count.text()).to.eq('1');\n });\n addPaymentMethod2();\n cy.get('#related-table-paymentmethod .sf-pagination-wrapper span.bold').eq(0).then(function (count) {\n expect(count.text()).to.eq('2');\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer td svg').eq(0).should('not.have.class', 'fa-check');\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(20000);\n addPaymentMethod();\n cy.get('#related-table-paymentmethod .sf-pagination-wrapper span.bold').eq(0).then(function (count) {\n expect(count.text()).to.eq('1');\n });\n addPaymentMethod2();\n cy.get('#related-table-paymentmethod .sf-pagination-wrapper span.bold').eq(0).then(function (count) {\n expect(count.text()).to.eq('2');\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer td svg').eq(0).should('not.have.class', 'fa-check');\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/08Add_Payment_Uncheck_Default.spec.js:104:8)","diff":null},"uuid":"e42c75dc-3dbd-4654-8b97-2350c93afe01","parentUUID":"2a6edd11-0cfe-424e-88fc-c26bd9c0da04","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e42c75dc-3dbd-4654-8b97-2350c93afe01"],"pending":[],"skipped":[],"duration":28699,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e44b1fa9-aa65-4e08-bd9f-7e992e5acc4d","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":"2988a8b8-1a80-466f-9dea-de16b9794177","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":22619,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n addPaymentMethod();\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(20000);\n addPaymentMethod();\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/09Cancel_Add_Payment.spec.js:104:8)","diff":null},"uuid":"bb8c66c8-8d87-4aa1-8c2f-668ed92097ce","parentUUID":"2988a8b8-1a80-466f-9dea-de16b9794177","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bb8c66c8-8d87-4aa1-8c2f-668ed92097ce"],"pending":[],"skipped":[],"duration":22619,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5e3baf52-f604-420e-b441-1427d42f2a4a","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":"231a9742-1013-403d-942f-192010c64334","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":28579,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n cy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .create-center-modal').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.modal-content label').contains('Payment Method').should('exist');\n cy.get('#payment-gateway-input').select('Stripe');\n cy.wait(3000);\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(5000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(5000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-billing_city-input-results li').first().click({\n force: true\n });\n cy.get(':nth-child(1) > fieldset.col-12 > :nth-child(2) > .custom_radio_bootstrap_con span').click({\n force: true\n });\n cy.wait(3000);\n cy.get(':nth-child(1) > fieldset.col-12 > :nth-child(1) > .custom_radio_bootstrap_con span').should('have.class', 'custom_radio_bootstrap_checkmark');\n cy.get(':nth-child(1) > fieldset.col-12 > :nth-child(1) > .custom_radio_bootstrap_con').contains('ACH').should('exist');\n cy.get('.modal-content h5').contains('Credit Card').should('exist');\n cy.get(':nth-child(1) > fieldset.col-12 > :nth-child(2) > .custom_radio_bootstrap_con span').should('have.class', 'custom_radio_bootstrap_checkmark').click({\n force: true\n });\n cy.wait(3000);\n cy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).click({\n force: true\n }).type('4242424242424241');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(1).click({\n force: true\n }).type('427');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(2).click({\n force: true\n }).type('337');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(3).click({\n force: true\n }).type('77777');\n });\n cy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardBrandIcon-container').find('svg[focusable=\"false\"]').should('exist');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).should('have.class', 'is-invalid');\n });\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(1000);\n cy.get('#card-errors').should('contain', 'Your card number is invalid.');\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/11Add_Payment_method_for_incorrect_number_using_Stripe.spec.js:104:8)","diff":null},"uuid":"111701b6-b616-4ac3-a2bc-89900215ec7c","parentUUID":"231a9742-1013-403d-942f-192010c64334","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["111701b6-b616-4ac3-a2bc-89900215ec7c"],"pending":[],"skipped":[],"duration":28579,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d634f6e5-827e-483f-aa6e-2fd9f156bc80","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":"d9e1ad71-bdc6-47f6-891c-6b46fd037e94","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":22069,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n cy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .create-center-modal').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.modal-content label').contains('Payment Method').should('exist');\n cy.get('#payment-gateway-input').select('Stripe');\n cy.wait(3000);\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(5000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(5000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-billing_city-input-results li').first().click({\n force: true\n });\n cy.get(':nth-child(1) > fieldset.col-12 > :nth-child(2) > .custom_radio_bootstrap_con span').click({\n force: true\n });\n cy.wait(3000);\n cy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).click({\n force: true\n }).type('4242424242424242');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(1).click({\n force: true\n }).type('527');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(2).click({\n force: true\n }).type('357');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(3).click({\n force: true\n }).type('77773');\n });\n cy.wait(3000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#center-modal > .modal-dialog > .modal-content > .modal-header > .close').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer > #example1 > tbody > :nth-child(1) > :nth-child(2) a').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#payment_api_information > :nth-child(1) > .form-group > label').should('exist');\n cy.get('#payment_api_information > :nth-child(2) > .form-group > label').should('exist');\n cy.get('#first_name-input').clear({\n force: true\n }).type('Scott', {\n force: true\n });\n cy.get('#email-input').clear({\n force: true\n }).type('scott@mail.com', {\n force: true\n });\n cy.wait(1000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#center-modal > .modal-dialog > .modal-content > .modal-header > .close').click({\n force: true\n });\n cy.wait(10000); //Open modal and check values\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer > #example1 > tbody > :nth-child(1) > :nth-child(2) a').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#first_name-input').should('have.value', 'Scott');\n cy.get('#email-input').should('have.value', 'scott@mail.com'); //Uncheck\n cy.get('.modal-footer > :nth-child(2) > :nth-child(1) #status-input').uncheck({\n force: true\n });\n cy.get('.modal-footer > :nth-child(2) > :nth-child(2) #default_payment_method').uncheck({\n force: true\n }); //After uncheck\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#center-modal > .modal-dialog > .modal-content > .modal-header > .close').click({\n force: true\n });\n cy.wait(7000);\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer #example1 > tbody > tr > :nth-child(5)').should('contain', 'Inactive');\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer #example1 > tbody > tr > :nth-child(6)').should('not.have.class', 'fa-check');\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/12Edit_Payment_Method.spec.js:107:8)","diff":null},"uuid":"33271116-19b9-440a-94a2-d020146b453e","parentUUID":"d9e1ad71-bdc6-47f6-891c-6b46fd037e94","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["33271116-19b9-440a-94a2-d020146b453e"],"pending":[],"skipped":[],"duration":22069,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"02137d87-2c54-427a-9024-e3b0316f7010","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":"29cf0a5c-4d62-4b5e-8a39-301612c2315a","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":24131,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n cy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .create-center-modal').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.modal-content label').contains('Payment Method').should('exist');\n cy.get('#payment-gateway-input').select('Stripe');\n cy.wait(3000);\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(5000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(5000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-billing_city-input-results li').first().click({\n force: true\n });\n cy.get(':nth-child(1) > fieldset.col-12 > :nth-child(2) > .custom_radio_bootstrap_con span').click({\n force: true\n });\n cy.wait(3000);\n cy.get(':nth-child(1) > fieldset.col-12 > :nth-child(1) > .custom_radio_bootstrap_con span').should('have.class', 'custom_radio_bootstrap_checkmark');\n cy.get(':nth-child(1) > fieldset.col-12 > :nth-child(1) > .custom_radio_bootstrap_con').contains('ACH').should('exist');\n cy.get('.modal-content h5').contains('Credit Card').should('exist');\n cy.get(':nth-child(1) > fieldset.col-12 > :nth-child(2) > .custom_radio_bootstrap_con span').should('have.class', 'custom_radio_bootstrap_checkmark').click({\n force: true\n });\n cy.wait(3000);\n cy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).click({\n force: true\n }).type('4242424242424241');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(1).click({\n force: true\n }).type('427');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(2).click({\n force: true\n }).type('337');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(3).click({\n force: true\n }).type('77777');\n });\n cy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardBrandIcon-container').find('svg[focusable=\"false\"]').should('exist');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).should('have.class', 'is-invalid');\n });\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(1000);\n cy.get('#card-errors').should('contain', 'Your card number is invalid.');\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/14Add_Payment_method_for_incorrect_number_using_Stripe.spec.js:105:8)","diff":null},"uuid":"e1a7f23f-a407-4a76-adb1-1ddb9b407503","parentUUID":"29cf0a5c-4d62-4b5e-8a39-301612c2315a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e1a7f23f-a407-4a76-adb1-1ddb9b407503"],"pending":[],"skipped":[],"duration":24131,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"859c150e-abcc-44d6-820e-3c44f9980efe","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":"328f3ab9-d3bb-4d6e-ab21-b2d0be5c90be","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":22687,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n cy.get('.nav-wrapper').its('length').then(function (len) {\n if (len > 1) {\n cy.log(\"length here\" + len);\n } else {\n cy.get('.related-list').trigger('mouseover');\n cy.get('.ml-auto.show-cog.test-pull-right.cursor_p .fa-cog').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#relatedModule_rightAll').click({\n force: true\n });\n cy.get('#related_module_list > .modal-footer > .btn-create').click({\n force: true\n });\n cy.wait(10000);\n }\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n addPaymentMethod();\n addPaymentMethod2();\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(20000);\n addPaymentMethod();\n addPaymentMethod2();\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/16Add_Payment_BankTransfer_AuthorizeNet.spec.js:105:8)","diff":null},"uuid":"7281263f-60cc-4d66-ae15-c86e230247a6","parentUUID":"328f3ab9-d3bb-4d6e-ab21-b2d0be5c90be","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7281263f-60cc-4d66-ae15-c86e230247a6"],"pending":[],"skipped":[],"duration":22687,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b79bf721-b991-47f6-a491-baa2b246d4c7","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":"f7a60547-d1cb-4109-835d-f6f014c50cca","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":22148,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n cy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .create-center-modal').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.modal-content label').contains('Payment Method').should('exist');\n cy.get('#payment-gateway-input').select('Stripe');\n cy.wait(3000);\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(5000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(5000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-billing_city-input-results li').first().click({\n force: true\n });\n cy.get(':nth-child(1) > fieldset.col-12 > :nth-child(2) > .custom_radio_bootstrap_con span').click({\n force: true\n });\n cy.wait(3000);\n cy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).click({\n force: true\n }).type('4242424242424242');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(1).click({\n force: true\n }).type('527');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(2).click({\n force: true\n }).type('357');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(3).click({\n force: true\n }).type('77773');\n });\n cy.wait(3000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#center-modal > .modal-dialog > .modal-content > .modal-header > .close').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer > #example1 > tbody > :nth-child(1) > :nth-child(2) a').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#payment_api_information > :nth-child(1) > .form-group > label').should('exist');\n cy.get('#payment_api_information > :nth-child(2) > .form-group > label').should('exist');\n cy.get('#first_name-input').clear({\n force: true\n }).type('Scott', {\n force: true\n });\n cy.get('#email-input').clear({\n force: true\n }).type('scott@mail.com', {\n force: true\n });\n cy.wait(1000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#center-modal > .modal-dialog > .modal-content > .modal-header > .close').click({\n force: true\n });\n cy.wait(10000); //Open modal and check values\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer > #example1 > tbody > :nth-child(1) > :nth-child(2) a').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#first_name-input').should('have.value', 'Scott');\n cy.get('#email-input').should('have.value', 'scott@mail.com'); //Uncheck\n cy.get('.modal-footer > :nth-child(2) > :nth-child(1) #status-input').uncheck({\n force: true\n });\n cy.get('.modal-footer > :nth-child(2) > :nth-child(2) #default_payment_method').uncheck({\n force: true\n }); //After uncheck\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#center-modal > .modal-dialog > .modal-content > .modal-header > .close').click({\n force: true\n });\n cy.wait(7000);\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer #example1 > tbody > tr > :nth-child(5)').should('contain', 'Inactive');\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer #example1 > tbody > tr > :nth-child(6)').should('not.have.class', 'fa-check');\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/20Edit_Payment_Method.spec.js:104:8)","diff":null},"uuid":"bbccc874-f313-4407-b0c1-d0af99180d17","parentUUID":"f7a60547-d1cb-4109-835d-f6f014c50cca","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bbccc874-f313-4407-b0c1-d0af99180d17"],"pending":[],"skipped":[],"duration":22148,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"be415016-8b94-45c7-942f-8c4eb82a1e26","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":"47b94e35-1299-428e-9281-f5204c4068ed","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":34131,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000);\ncy.get('#confirmation_config_integration button').contains('Close').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});\ncy.get('#PaymentMethod-subpanel .pull-right a').contains('Public Payment Method Page').then(function ($ele) {\n var href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pcp-chk-billing-addr_lbl-billing-addr').contains('Address').should('exist');\ncy.get('#sc_pcp-chk-payment_lbl-payment-info').contains('Payment Information').should('exist');\ncy.get('#sc_pcp-chk-acc-info_inp-fname-el').type('Andy');\ncy.get('#sc_pcp-chk-acc-info_inp-lname-el').type('Barymore');\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type('andy');\ncy.get('#sc_pcp-chk-acc-info_inp-notes-el').type('This is the description');\ncy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pcp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pcp-chk-billing-addr-inp-addrline2-el').type('street 1');\ncy.get('#sc_pcp-chk-payment_credit-card-tab').click({\n force: true\n});\ncy.get('#paymentInformationCard__cardNumber').type('4111111111111112');\ncy.get('#paymentInformationCard__expiryMonth').select('01', {\n force: true\n}).should('have.value', '01');\ncy.get('#paymentInformationCard__expiryYear').select('2021', {\n force: true\n}).should('have.value', '2021');\ncy.get('#paymentInformationCard__Cvv').type('12', {\n force: true\n}).should('have.value', '12');\ncy.get('#termsAndConditions').click({\n force: true\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.get('#card-errors').should('be.visible').and(function ($element) {\n expect($element.text()).to.include('Please provide valid credit card number.');\n expect($element.text()).to.include('Please provide valid CVV.');\n});\ncy.get('#paymentInformationCard__cardNumber').clear().type('4111111111111111');\ncy.get('#paymentInformationCard__expiryYear').select('2027', {\n force: true\n}).should('have.value', '2027');\ncy.get('#paymentInformationCard__Cvv').clear().type('667');\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.row h5').contains('* Please enter a valid email address').should('be.visible');\nvar rand = userID_Alpha_Numeric();\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type(rand + '@mail.com', {\n force: true\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n}); // cy.get('label[for=\"termsAndConditions\"]').click({force:true})\ncy.wait(20000);\ncy.get('.lead').contains('Your payment method has been added successfully.').should('be.visible');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#confirmation_config_integration button`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#confirmation_config_integration button`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Public%20Payment%20Method/01Add_Public_Payment_Creditcard_Authorizenet.spec.js:137:8)","diff":null},"uuid":"24966271-1442-41df-9697-8cc3cf59249d","parentUUID":"47b94e35-1299-428e-9281-f5204c4068ed","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["24966271-1442-41df-9697-8cc3cf59249d"],"pending":[],"skipped":[],"duration":34131,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9cb7a816-4267-4fab-b635-eb80a14a80a7","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":"30e62c0b-25dc-4626-a2c3-5863643b3c51","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":36643,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000);\ncy.get('#confirmation_config_integration button').contains('Close').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});\ncy.get('#PaymentMethod-subpanel .pull-right a').contains('Public Payment Method Page').then(function ($ele) {\n var href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pcp-chk-billing-addr_lbl-billing-addr').contains('Address').should('exist');\ncy.get('#sc_pcp-chk-payment_lbl-payment-info').contains('Payment Information').should('exist');\ncy.get('#sc_pcp-chk-acc-info_inp-fname-el').type('Andy');\ncy.get('#sc_pcp-chk-acc-info_inp-lname-el').type('Barymore');\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type('andy');\ncy.get('#sc_pcp-chk-acc-info_inp-notes-el').type('This is the description');\ncy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pcp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pcp-chk-billing-addr-inp-addrline2-el').type('street 1');\ncy.get('#sc_pcp-chk-payment_ach-tab').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_pcp-chk-subscribe_el_btn').dblclick({\n force: true\n});\ncy.wait(10000);\ncy.get('#ach-errors').contains('Please provide valid account number.').should('be.visible');\ncy.get('#paymentInformationBank__accountNumber').type('111111111');\ncy.get('#paymentInformationBank__routingNumber').type('021000021');\ncy.get('#termsAndConditions').click({\n force: true\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.row h5').contains('* Please enter a valid email address').should('be.visible');\nvar rand = userID_Alpha_Numeric();\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type(rand + '@mail.com', {\n force: true\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(18000);\ncy.get('.lead').contains('Your payment method has been added successfully.').should('be.visible');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#confirmation_config_integration button`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#confirmation_config_integration button`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Public%20Payment%20Method/02Add_Public_Payment_BankTransfer_Authorizenet.spec.js:140:8)","diff":null},"uuid":"0cd683a6-f804-489f-9e8a-5e46dcb62a22","parentUUID":"30e62c0b-25dc-4626-a2c3-5863643b3c51","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0cd683a6-f804-489f-9e8a-5e46dcb62a22"],"pending":[],"skipped":[],"duration":36643,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3284947c-ca50-4590-bde7-e665fb486918","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":"1e61591a-05c0-4382-981a-934db2abea39","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":21462,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});\ncy.get('#PaymentMethod-subpanel .pull-right a').contains('Public Payment Method Page').then(function ($ele) {\n var href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pcp-chk-billing-addr_lbl-billing-addr').contains('Address').should('exist');\ncy.get('#sc_pcp-chk-payment_lbl-payment-info').contains('Payment Information').should('exist');\ncy.get('#sc_pcp-chk-acc-info_inp-fname-el').type('Andy');\ncy.get('#sc_pcp-chk-acc-info_inp-lname-el').type('Barymore');\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type('andy');\ncy.get('#sc_pcp-chk-acc-info_inp-notes-el').type('This is the description');\ncy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pcp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pcp-chk-billing-addr-inp-addrline2-el').type('street 1');\ncy.get('#sc_pcp-chk-payment_credit-card-tab').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).click({\n force: true\n }).type('4242424242424242');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(1).click({\n force: true\n }).type('420');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(2).click({\n force: true\n }).type('42');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(3).click({\n force: true\n }).type('777');\n});\ncy.get('#termsAndConditions').click({\n force: true\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.get('#card-errors').should('be.visible').and(function ($element) {\n expect($element.text()).to.include(\"Your card's expiration year is in the past.\");\n});\ncy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).click({\n force: true\n }).clear().type('4242424242424242');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(1).click({\n force: true\n }).clear().type('425');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(2).click({\n force: true\n }).clear().type('424');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(3).click({\n force: true\n }).clear().type('77777');\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.row h5').contains('* Please enter a valid email address').should('be.visible');\nvar rand = userID_Alpha_Numeric();\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type(rand + '@mail.com', {\n force: true\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(18000);\ncy.get('.lead').contains('Your payment method has been added successfully.').should('be.visible');","err":{"message":"TypeError: The following error originated from your application code, not from Cypress.\n\n > $(...).multiselect is not a function\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application","estack":"TypeError: The following error originated from your application code, not from Cypress.\n\n > $(...).multiselect is not a function\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at HTMLDocument.<anonymous> (https://awais.subscriptionflow.com/assets/scripts/helper.list.functions.js:1061:29)\n at e (https://dz9lwoxpvn6on.cloudfront.net/assets/js/sf-plugins.min.js:2:30038)\n at t (https://dz9lwoxpvn6on.cloudfront.net/assets/js/sf-plugins.min.js:2:30340)","diff":null},"uuid":"48230458-d8dd-4d50-a222-7d324fe833e5","parentUUID":"1e61591a-05c0-4382-981a-934db2abea39","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["48230458-d8dd-4d50-a222-7d324fe833e5"],"pending":[],"skipped":[],"duration":21462,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"57e03f33-1407-4fd1-ae35-9b507d675baf","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":"931db954-bc1c-4d87-8e37-27d2fb4823be","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":28975,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.wait(10000);\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});\ncy.get('#PaymentMethod-subpanel .pull-right a').contains('Public Payment Method Page').then(function ($ele) {\n var href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pcp-chk-billing-addr_lbl-billing-addr').contains('Address').should('exist');\ncy.get('#sc_pcp-chk-payment_lbl-payment-info').contains('Payment Information').should('exist');\ncy.get('#sc_pcp-chk-acc-info_inp-fname-el').type('Andy');\ncy.get('#sc_pcp-chk-acc-info_inp-lname-el').type('Barymore');\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type('andy');\ncy.get('#sc_pcp-chk-acc-info_inp-notes-el').type('This is the description');\ncy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pcp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pcp-chk-billing-addr-inp-addrline2-el').type('street 1');\ncy.get('#sc_pcp-chk-payment_ach-tab').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#ach-errors').contains('* Please enter correct routing number').should('be.visible');\ncy.get('#paymentInformationBank__accountNumber').type('0001234567');\ncy.get('#paymentInformationBank__routingNumber').type('1100000');\ncy.get('#termsAndConditions').click({\n force: true\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#ach-errors').contains('* Please enter correct routing number').should('be.visible');\ncy.get('#paymentInformationBank__accountNumber').clear().type('000123456789');\ncy.get('#paymentInformationBank__routingNumber').clear().type('110000000');\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.row h5').contains('* Please enter a valid email address').should('be.visible');\nvar rand = userID_Alpha_Numeric();\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type(rand + '@mail.com', {\n force: true\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(18000);\ncy.get('.lead').contains('Your payment method needs to be verified by Admin.').should('be.visible');","err":{"message":"TypeError: The following error originated from your application code, not from Cypress.\n\n > $(...).multiselect is not a function\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application","estack":"TypeError: The following error originated from your application code, not from Cypress.\n\n > $(...).multiselect is not a function\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at HTMLDocument.<anonymous> (https://awais.subscriptionflow.com/assets/scripts/helper.list.functions.js:1061:29)\n at e (https://dz9lwoxpvn6on.cloudfront.net/assets/js/sf-plugins.min.js:2:30038)\n at t (https://dz9lwoxpvn6on.cloudfront.net/assets/js/sf-plugins.min.js:2:30340)","diff":null},"uuid":"1e177f75-ef79-440f-9cfb-8d4b6b7a6446","parentUUID":"931db954-bc1c-4d87-8e37-27d2fb4823be","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1e177f75-ef79-440f-9cfb-8d4b6b7a6446"],"pending":[],"skipped":[],"duration":28975,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"35baafd5-17f4-41d6-b98a-a81be52aea70","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":"013d71a2-b1ea-4cf8-8441-355d4759e0c9","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":22046,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-paypal.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});\ncy.get('#PaymentMethod-subpanel .pull-right a').contains('Public Payment Method Page').then(function ($ele) {\n var href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pcp-chk-billing-addr_lbl-billing-addr').contains('Address').should('exist');\ncy.get('#sc_pcp-chk-payment_lbl-payment-info').contains('Payment Information').should('exist');\ncy.get('#sc_pcp-chk-acc-info_inp-fname-el').type('Andy');\ncy.get('#sc_pcp-chk-acc-info_inp-lname-el').type('Barymore');\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type('andy');\ncy.get('#sc_pcp-chk-acc-info_inp-notes-el').type('This is the description');\ncy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pcp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pcp-chk-billing-addr-inp-addrline2-el').type('street 1');\ncy.get('#termsAndConditions').click({\n force: true\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.row h5').contains('* Please enter a valid email address').should('be.visible');\nvar rand = userID_Alpha_Numeric();\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type(rand + '@mail.com', {\n force: true\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(18000);","err":{"message":"TypeError: The following error originated from your application code, not from Cypress.\n\n > $(...).multiselect is not a function\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application","estack":"TypeError: The following error originated from your application code, not from Cypress.\n\n > $(...).multiselect is not a function\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at HTMLDocument.<anonymous> (https://awais.subscriptionflow.com/assets/scripts/helper.list.functions.js:1061:29)\n at e (https://dz9lwoxpvn6on.cloudfront.net/assets/js/sf-plugins.min.js:2:30038)\n at t (https://dz9lwoxpvn6on.cloudfront.net/assets/js/sf-plugins.min.js:2:30340)","diff":null},"uuid":"e3f26a3b-838a-430d-b17d-e241b3576f6c","parentUUID":"013d71a2-b1ea-4cf8-8441-355d4759e0c9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e3f26a3b-838a-430d-b17d-e241b3576f6c"],"pending":[],"skipped":[],"duration":22046,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"da19822f-5147-49cf-81ec-11eb111bff6f","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":"5ad9fe41-ae8a-410d-9355-a5bdfe0a506f","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":22465,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('.row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(10000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(15000);\ncy.get('#display-name-continue').click({\n force: true\n});\ncy.get('.btn-group > .btn').click({\n force: true\n});\ncy.get('[href=\"https://awais.subscriptionflow.com/en/invoices/process-payment/5e191737-d0df-45db-bfee-175c4f5ef640\"]').click({\n force: true\n});\ncy.url().should('contain', '/process-payment/');\ncy.get('.col > :nth-child(1) > h5').contains('Basic Information').should('be.visible'); // cy.get('.card-header').contains('Apply Payment').should('be.visible')\ncy.wait(7000);\ncy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n});\ncy.wait(8000);\ncy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n});\ncy.get('td').eq(5).then(function (balance) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(bal, {\n force: true\n });\n cy.get('#receive_amount').clear({\n force: true\n }).type(bal, {\n force: true\n });\n});\ncy.get('#reference').type('abc123', {\n force: true\n});\ncy.get('#description').type('This is a description', {\n force: true\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.btn-dark').click({\n force: true\n});\ncy.wait(8000);\ncy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Digital Magazine').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(3).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/01Allocate_Existing_Credits.spec.js:107:8)","diff":null},"uuid":"8b68d4fd-fce2-42cb-9cdf-705dcf82b00a","parentUUID":"5ad9fe41-ae8a-410d-9355-a5bdfe0a506f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8b68d4fd-fce2-42cb-9cdf-705dcf82b00a"],"pending":[],"skipped":[],"duration":22465,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"eb65e869-2487-4b0d-9586-a875320029db","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":"34bee292-2893-4605-8e78-052c253f691d","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":22808,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(5000);\ncy.get('button.btn.detail-btn-bars').click({\n force: true\n});\ncy.get('ul li').contains('Process Payment').click({\n force: true\n});\ncy.url().should('contain', '/process-payment/');\ncy.get('.card-header').contains('Basic Information').should('be.visible');\ncy.get('.card-header').contains('Apply Payment').should('be.visible');\ncy.wait(7000);\ncy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n});\ncy.wait(8000);\ncy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n});\ncy.get('td').eq(5).then(function (balance) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(bal, {\n force: true\n });\n cy.get('#receive_amount').clear({\n force: true\n }).type(bal, {\n force: true\n });\n});\ncy.get('#reference').type('abc123', {\n force: true\n});\ncy.get('#description').type('This is a description', {\n force: true\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.btn-dark').click({\n force: true\n});\ncy.wait(8000);\ncy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains(\"Digital Magazine\").click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(3).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(20000);\ncy.reload();\nallocateCredits();","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/02Allocate_Existing_Credits_Amt_Gtr_Balance.spec.js:107:8)","diff":null},"uuid":"cdf55aef-b0d5-4a20-8352-5f5c223a2297","parentUUID":"34bee292-2893-4605-8e78-052c253f691d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cdf55aef-b0d5-4a20-8352-5f5c223a2297"],"pending":[],"skipped":[],"duration":22808,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d16b4802-add1-4c2a-91fe-b2bf6ef52ee1","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":"ce579dfc-f6e5-42da-9a6e-f0201b33b0ac","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":22020,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(5000);\ncy.get('button.btn.detail-btn-bars').click({\n force: true\n});\ncy.get('ul li').contains('Process Payment').click({\n force: true\n});\ncy.url().should('contain', '/process-payment/');\ncy.get('.card-header').contains('Basic Information').should('be.visible');\ncy.get('.card-header').contains('Apply Payment').should('be.visible');\ncy.wait(7000);\ncy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n});\ncy.wait(8000);\ncy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n});\ncy.get('td').eq(5).then(function (balance) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(bal, {\n force: true\n });\n cy.get('#receive_amount').clear({\n force: true\n }).type(bal, {\n force: true\n });\n});\ncy.get('#reference').type('abc123', {\n force: true\n});\ncy.get('#description').type('This is a description', {\n force: true\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.btn-dark').click({\n force: true\n});\ncy.wait(8000);\ncy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(3).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/03Allocate_Existing_Credits_Amt_Lt_Balance.spec.js:107:8)","diff":null},"uuid":"000b7e81-d6e0-4d7d-b9e5-ffa3e2af7d13","parentUUID":"ce579dfc-f6e5-42da-9a6e-f0201b33b0ac","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["000b7e81-d6e0-4d7d-b9e5-ffa3e2af7d13"],"pending":[],"skipped":[],"duration":22020,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f00f1a00-909a-433c-99df-79e3a4089a6d","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":"5062d016-9df2-45c3-9ff9-a1a75fa0c545","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":27462,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(5000);\ncy.get('button.btn.detail-btn-bars').click({\n force: true\n});\ncy.get('ul li').contains('Process Payment').click({\n force: true\n});\ncy.url().should('contain', '/process-payment/');\ncy.get('.card-header').contains('Basic Information').should('be.visible');\ncy.get('.card-header').contains('Apply Payment').should('be.visible');\ncy.wait(7000);\ncy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n});\ncy.wait(8000);\ncy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n});\ncy.get('td').eq(5).then(function (balance) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(bal, {\n force: true\n });\n cy.get('#receive_amount').clear({\n force: true\n }).type(bal, {\n force: true\n });\n});\ncy.get('#reference').type('abc123', {\n force: true\n});\ncy.get('#description').type('This is a description', {\n force: true\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.btn-dark').click({\n force: true\n});\ncy.wait(8000);\ncy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Digital Magazine').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(3).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\nallocateCredits();","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/04Allocate_Existing_Credits_Amt_Gtr_Outstanding.spec.js:107:8)","diff":null},"uuid":"cda43d39-b40e-472a-9b44-74c2ebc7029d","parentUUID":"5062d016-9df2-45c3-9ff9-a1a75fa0c545","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cda43d39-b40e-472a-9b44-74c2ebc7029d"],"pending":[],"skipped":[],"duration":27462,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7eaa1d8a-6da6-4736-851a-d96a8fa06e45","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":"05ac8805-24d4-4208-b419-e98030fbf6af","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":22068,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(5000);\ncy.get('button.btn.detail-btn-bars').click({\n force: true\n});\ncy.get('ul li').contains('Process Payment').click({\n force: true\n});\ncy.url().should('contain', '/process-payment/');\ncy.get('.card-header').contains('Basic Information').should('be.visible');\ncy.get('.card-header').contains('Apply Payment').should('be.visible');\ncy.wait(7000);\ncy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n});\ncy.wait(8000);\ncy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n});\ncy.get('td').eq(5).then(function (balance) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(bal, {\n force: true\n });\n cy.get('#receive_amount').clear({\n force: true\n }).type(bal, {\n force: true\n });\n});\ncy.get('#reference').type('abc123', {\n force: true\n});\ncy.get('#description').type('This is a description', {\n force: true\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.btn-dark').click({\n force: true\n});\ncy.wait(8000);\ncy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Digital Magazine').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(3).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/05Allocate_Existing_Credits_Amt_Lt_Outstanding.spec.js:107:8)","diff":null},"uuid":"571e9348-4f8a-4ffd-8762-e21150e05c18","parentUUID":"05ac8805-24d4-4208-b419-e98030fbf6af","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["571e9348-4f8a-4ffd-8762-e21150e05c18"],"pending":[],"skipped":[],"duration":22068,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ef9d2969-a262-4fd8-8ed4-822ebef40f1e","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":"24dbdb84-bba7-4dc8-a222-d952ebf11d40","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":26564,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(5000);\ncy.get('button.btn.detail-btn-bars').click({\n force: true\n});\ncy.get('ul li').contains('Process Payment').click({\n force: true\n});\ncy.url().should('contain', '/process-payment/');\ncy.get('.card-header').contains('Basic Information').should('be.visible');\ncy.get('.card-header').contains('Apply Payment').should('be.visible');\ncy.wait(7000);\ncy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n});\ncy.wait(8000);\ncy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n});\ncy.get('td').eq(5).then(function (balance) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(bal, {\n force: true\n });\n cy.get('#receive_amount').clear({\n force: true\n }).type(bal, {\n force: true\n });\n});\ncy.get('#reference').type('abc123', {\n force: true\n});\ncy.get('#description').type('This is a description', {\n force: true\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.btn-dark').click({\n force: true\n});\ncy.wait(8000);\ncy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Digital Magazine').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(3).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/06Allocate_Existing_Credits_Amt_eq_Outstanding.spec.js:107:8)","diff":null},"uuid":"24955d23-2802-4432-834b-a7b4c4e65821","parentUUID":"24dbdb84-bba7-4dc8-a222-d952ebf11d40","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["24955d23-2802-4432-834b-a7b4c4e65821"],"pending":[],"skipped":[],"duration":26564,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cfed1b39-7466-4868-aa91-8bcefbaf33c9","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":"b2aae8da-9c47-4b03-8fb9-2bbc170a36b6","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":22225,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(5000);\ncy.get('button.btn.detail-btn-bars').click({\n force: true\n});\ncy.get('ul li').contains('Process Payment').click({\n force: true\n});\ncy.url().should('contain', '/process-payment/');\ncy.get('.card-header').contains('Basic Information').should('be.visible');\ncy.get('.card-header').contains('Apply Payment').should('be.visible');\ncy.wait(7000);\ncy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n});\ncy.wait(8000);\ncy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n});\ncy.get('td').eq(5).then(function (balance) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(bal, {\n force: true\n });\n cy.get('#receive_amount').clear({\n force: true\n }).type(bal, {\n force: true\n });\n});\ncy.get('#reference').type('abc123', {\n force: true\n});\ncy.get('#description').type('This is a description', {\n force: true\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.btn-dark').click({\n force: true\n});\ncy.wait(8000);\ncy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Digital Magazine').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(3).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/07Allocate_Existing_Credits_Multiple_Invoices.spec.js:107:8)","diff":null},"uuid":"0afd81da-e38c-48ad-b8c1-c115273c1665","parentUUID":"b2aae8da-9c47-4b03-8fb9-2bbc170a36b6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0afd81da-e38c-48ad-b8c1-c115273c1665"],"pending":[],"skipped":[],"duration":22225,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a33691a6-9f61-45c4-842a-e41861f4894c","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":"2c9c66e0-fde4-45d6-ac44-1c02fe8ea328","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":22108,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(8000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n cy.log(trans1);\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/08Create_And_Allocate_Credits.spec.js:107:8)","diff":null},"uuid":"7ae5fb7d-7515-40af-9d39-3fcd47e7087b","parentUUID":"2c9c66e0-fde4-45d6-ac44-1c02fe8ea328","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7ae5fb7d-7515-40af-9d39-3fcd47e7087b"],"pending":[],"skipped":[],"duration":22108,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"45f3c54f-f966-41b0-96ce-e4630ccad7af","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":"f8f3fde4-948d-45f9-977d-333f5da4807e","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":22276,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(8000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/09Create_And_Allocate_Balance_Gtr_Allocated.spec.js:107:8)","diff":null},"uuid":"25fc1e5b-7471-40d1-99d0-ea0b743c3f29","parentUUID":"f8f3fde4-948d-45f9-977d-333f5da4807e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["25fc1e5b-7471-40d1-99d0-ea0b743c3f29"],"pending":[],"skipped":[],"duration":22276,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ae87ff9c-5b2b-46c5-ab02-55f187d0d654","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":"95612513-1879-4481-8ffe-53618e4cb6aa","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":22476,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('.related-list > .nav-link').trigger('mouseover').then(function () {\n cy.get('.related-list [data-toggle=\"modal\"] .fas.fa-cog').click({\n force: true,\n multiple: true\n });\n});\ncy.wait(5000);\ncy.get('#relatedModule_rightAll').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#related_module_list > .modal-footer > .btn-create').click({\n force: true\n});\ncy.wait(5000);\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(8000);\ncy.reload();\nallocateCredits();","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/10Create_And_Allocate_Balance_Lt_Allocated.spec.js:107:8)","diff":null},"uuid":"8582ef4d-41d7-4b89-be2e-306ef3f3918d","parentUUID":"95612513-1879-4481-8ffe-53618e4cb6aa","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8582ef4d-41d7-4b89-be2e-306ef3f3918d"],"pending":[],"skipped":[],"duration":22476,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f4eb6780-5562-4ddf-8ab1-eaf8145fc076","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":"78cdb94a-b4a6-45c3-920b-77bbb9749cc6","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":26488,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(8000);\ncy.reload();\nallocateCredits();","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/11Create_And_Allocate_Balance_Gtr_Outstanding.spec.js:107:8)","diff":null},"uuid":"d39a4f8d-e556-4f3d-a722-b3b153a65330","parentUUID":"78cdb94a-b4a6-45c3-920b-77bbb9749cc6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d39a4f8d-e556-4f3d-a722-b3b153a65330"],"pending":[],"skipped":[],"duration":26488,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"97619f35-5712-47d3-b10b-afb118cbd2fe","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":"60f0de9d-5a73-4bd4-8ce5-01c0afbc2be2","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":23410,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('.nav-wrapper').its('length').then(function (len) {\n if (len > 1) {\n cy.log(\"length here\" + len);\n } else {\n cy.get('.related-list').trigger('mouseover');\n cy.get('.ml-auto.show-cog.test-pull-right.cursor_p .fa-cog').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#relatedModule_rightAll').click({\n force: true\n });\n cy.get('#related_module_list > .modal-footer > .btn-create').click({\n force: true\n });\n cy.wait(10000);\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(8000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/12Create_And_Allocate_Balance_Lt_Outstanding.spec.js:107:8)","diff":null},"uuid":"ac882ea8-e587-4681-af3f-3b435e7e6b07","parentUUID":"60f0de9d-5a73-4bd4-8ce5-01c0afbc2be2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ac882ea8-e587-4681-af3f-3b435e7e6b07"],"pending":[],"skipped":[],"duration":23410,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1989937e-1ca7-4ac7-b93b-7592e49ec660","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":"8109e319-7f87-4c03-abe0-cb1d82bd8fd3","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":25951,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(8000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/13Create_And_Allocate_Balance_Eq_Outstanding.spec.js:107:8)","diff":null},"uuid":"975dc585-7ab3-4562-a919-311b53834a4e","parentUUID":"8109e319-7f87-4c03-abe0-cb1d82bd8fd3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["975dc585-7ab3-4562-a919-311b53834a4e"],"pending":[],"skipped":[],"duration":25951,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"41f3e4f9-cc38-48a9-8d76-9eb2916378c4","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":"b85cba1b-d813-43d3-a2c3-ee180100e177","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":23388,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(8000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/14Create_And_Allocate_Multiple_Invoices.spec.js:107:8)","diff":null},"uuid":"cd5dfdfa-8b27-466a-8aae-7d5d44716b89","parentUUID":"b85cba1b-d813-43d3-a2c3-ee180100e177","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cd5dfdfa-8b27-466a-8aae-7d5d44716b89"],"pending":[],"skipped":[],"duration":23388,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"121be5a4-9122-4732-bcf0-91c3090f752d","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":"04c4aef1-208d-4bdf-bea1-a0ac51cfd5ad","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":22051,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(8000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/15Create_And_Dont_Allocate.spec.js:107:8)","diff":null},"uuid":"f732a758-f9eb-43f0-9aee-8391ae31d619","parentUUID":"04c4aef1-208d-4bdf-bea1-a0ac51cfd5ad","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f732a758-f9eb-43f0-9aee-8391ae31d619"],"pending":[],"skipped":[],"duration":22051,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9184b2e1-35bd-4b0e-ac12-1e6f4c78f0c7","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":"ff2ec270-fb89-4dc2-a0d4-55177a0a99a7","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":12667,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 20) {\n newbal = 20;\n status = \"Partially Paid\";\n } else {\n newbal = 20;\n status = \"Paid\";\n }\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (bal - newbal);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n var i = 0;\n var trans;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header) {\n var header_text = header.text();\n header_text = header_text.trim();\n if (header_text.includes('Unapplied Amount')) {\n trans = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i + '\"]';\n cy.get(trans).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n return false;\n }\n i++;\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/01Process_Payment_Cash_Amount_Equal_To_Total_Inv_Amount.spec.js:106:8)","diff":null},"uuid":"dd2bec31-d275-4687-9902-c6ec49788c12","parentUUID":"ff2ec270-fb89-4dc2-a0d4-55177a0a99a7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dd2bec31-d275-4687-9902-c6ec49788c12"],"pending":[],"skipped":[],"duration":12667,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"26cb5b42-0034-479e-be9c-99cd71b77099","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":"016a9767-5dbc-4013-8cfb-f7aa336448d8","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":12083,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(30, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 30) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 30) {\n newbal = 30;\n status = \"Partially Paid\";\n } else {\n newbal = 30;\n status = \"Paid\";\n }\n cy.get('#receive_amount').clear({\n force: true\n }).type(40, {\n force: true\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (bal - newbal);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n var i = 0;\n var trans;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header) {\n var header_text = header.text();\n header_text = header_text.trim();\n if (header_text.includes('Unapplied Amount')) {\n trans = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i + '\"]';\n cy.get(trans).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(40 - newbal);\n });\n return false;\n }\n i++;\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/02Process_Payment_Cash_Amount_GreaterThan_Total_Int_Amount.spec.js:106:8)","diff":null},"uuid":"db66cdc8-fd70-401d-99f5-275a0131b5f6","parentUUID":"016a9767-5dbc-4013-8cfb-f7aa336448d8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["db66cdc8-fd70-401d-99f5-275a0131b5f6"],"pending":[],"skipped":[],"duration":12083,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"131e5ef4-3b2c-4891-85a1-5baf91668880","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":"0596c82d-d9f0-4747-8173-3e95d76d4cca","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":12011,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 20) {\n newbal = 20;\n status = \"Partially Paid\";\n } else {\n newbal = 20;\n status = \"Paid\";\n }\n cy.get('#cash_or_card-input').select('Cheque', {\n force: true\n });\n cy.get('#status_pay-input').select('Paid', {\n force: true\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (bal - newbal);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n });\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n var i = 0;\n var trans;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header) {\n var header_text = header.text();\n header_text = header_text.trim();\n if (header_text.includes('Unapplied Amount')) {\n trans = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i + '\"]';\n cy.get(trans).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n return false;\n }\n i++;\n });\n var i1 = 0;\n var trans1;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header1) {\n var header_text1 = header1.text();\n header_text1 = header_text1.trim();\n if (header_text1.includes('Status')) {\n cy.log(\"i1 \" + i1);\n trans1 = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i1 + '\"]';\n cy.get(trans1).then(function (element) {\n expect(element.text()).to.include('Paid');\n });\n return false;\n }\n i1++;\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/03Process_Payment_Cheque_Status_Paid.spec.js:106:8)","diff":null},"uuid":"dcc0c55b-02a8-4bba-a241-6bceadde226d","parentUUID":"0596c82d-d9f0-4747-8173-3e95d76d4cca","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dcc0c55b-02a8-4bba-a241-6bceadde226d"],"pending":[],"skipped":[],"duration":12011,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cddc79f8-e0d5-45f2-bc59-a80a4b0f7a1f","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":"96c4c4ef-dbe4-4fa1-93a4-18822a7ad620","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":13394,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 20) {\n newbal = 20;\n status = \"Partially Paid\";\n } else {\n newbal = 20;\n status = \"Paid\";\n }\n cy.get('#cash_or_card-input').select('Cheque', {\n force: true\n });\n cy.get('#status_pay-input').select('Pending', {\n force: true\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(3).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody a span').eq(0).click({\n force: true\n }).then(function () {\n cy.wait(7000);\n cy.get('a[data-target=\"#approve-modal\"]').click({\n force: true\n });\n cy.get('#approve-form button[type=\"submit\"]').click({\n force: true\n });\n });\n cy.wait(5000);\n var index1 = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index1).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index1).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (bal - newbal);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index1).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index1++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n var i1 = 0;\n var trans1;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header1) {\n var header_text1 = header1.text();\n header_text1 = header_text1.trim();\n if (header_text1.includes('Status')) {\n cy.log(\"i1 \" + i1);\n trans1 = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i1 + '\"]';\n cy.get(trans1).then(function (element) {\n expect(element.text()).to.include('Paid');\n });\n return false;\n }\n i1++;\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/04Process_Payment_Cheque_Status_Approve_Pending.spec.js:106:8)","diff":null},"uuid":"f5bd9480-f691-4035-8952-cf2a6d9b05d3","parentUUID":"96c4c4ef-dbe4-4fa1-93a4-18822a7ad620","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f5bd9480-f691-4035-8952-cf2a6d9b05d3"],"pending":[],"skipped":[],"duration":13394,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ab957c0f-e56c-4b68-9470-a1ccba77b262","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":"7c0b7a9a-71b3-4cf0-9efa-aa24bb607251","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":15556,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n }\n cy.get('#cash_or_card-input').select('Cheque', {\n force: true\n });\n cy.get('#status_pay-input').select('Pending', {\n force: true\n });\n cy.get('#receive_amount').clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n return false;\n }\n index++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(3).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody a span').eq(0).click({\n force: true\n }).then(function () {\n cy.wait(7000);\n cy.get('a[data-target=\"#decline-modal\"]').click({\n force: true\n });\n cy.get('#decline-form textarea').type('Some reason');\n cy.get('#decline-form button[type=\"submit\"]').click({\n force: true\n });\n });\n var index1 = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index1).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index1).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n return false;\n }\n index1++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n var i1 = 0;\n var trans1;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header1) {\n var header_text1 = header1.text();\n header_text1 = header_text1.trim();\n if (header_text1.includes('Status')) {\n cy.log(\"i1 \" + i1);\n trans1 = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i1 + '\"]';\n cy.get(trans1).then(function (element) {\n expect(element.text()).to.include('Declined');\n });\n return false;\n }\n i1++;\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/05Process_Payment_Cheque_Status_Decline_Pending.spec.js:106:8)","diff":null},"uuid":"c889166c-bf7b-4da4-ba3f-101cea7cf56e","parentUUID":"7c0b7a9a-71b3-4cf0-9efa-aa24bb607251","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c889166c-bf7b-4da4-ba3f-101cea7cf56e"],"pending":[],"skipped":[],"duration":15556,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"72721fe0-5537-4d40-967c-e7087db1d8fe","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":"37e0e23d-086b-4f78-bec6-d1b77a91efba","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":12537,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 20) {\n newbal = 20;\n status = \"Partially Paid\";\n } else {\n newbal = 20;\n status = \"Paid\";\n }\n cy.get('#cash_or_card-input').select('Bank Transfer', {\n force: true\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (bal - newbal);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n });\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n var i1 = 0;\n var trans1;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header1) {\n var header_text1 = header1.text();\n header_text1 = header_text1.trim();\n if (header_text1.includes('Unapplied Amount')) {\n cy.log(\"i1 \" + i1);\n trans1 = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i1 + '\"]';\n cy.get(trans1).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n return false;\n }\n i1++;\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/06Process_Payment_BankTransfer.spec.js:106:8)","diff":null},"uuid":"f60bd262-167c-4fbc-bc95-3b08cbe1afa6","parentUUID":"37e0e23d-086b-4f78-bec6-d1b77a91efba","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f60bd262-167c-4fbc-bc95-3b08cbe1afa6"],"pending":[],"skipped":[],"duration":12537,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e9373ac0-9500-4bca-a714-49a4bed5f01f","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":"5af72d51-0b13-4f48-b2c0-6d0b179d68a9","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":11978,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n }).then(function () {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n }\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('a').contains('Cancel').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n });\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n expect(parseInt(transaction1.text())).to.eq(parseInt(transaction2.text()));\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/07Cancel_Process_Payment.spec.js:106:8)","diff":null},"uuid":"0e96d696-4463-48e0-87a1-a7661b00b011","parentUUID":"5af72d51-0b13-4f48-b2c0-6d0b179d68a9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0e96d696-4463-48e0-87a1-a7661b00b011"],"pending":[],"skipped":[],"duration":11978,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1faca3c5-e44e-4a91-bd89-8f9036797bb7","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":"ad368738-e22a-4e28-8d6a-92d6b49d43a3","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":14680,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 20) {\n newbal = 20;\n status = \"Partially Paid\";\n } else {\n newbal = 20;\n status = \"Paid\";\n }\n cy.get('#cash_or_card-input').select('Wire', {\n force: true\n });\n cy.get('#status_pay-input').select('Paid', {\n force: true\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (bal - newbal);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n });\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n var i = 0;\n var trans;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header) {\n var header_text = header.text();\n header_text = header_text.trim();\n if (header_text.includes('Unapplied Amount')) {\n trans = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i + '\"]';\n cy.get(trans).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n return false;\n }\n i++;\n });\n var i1 = 0;\n var trans1;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header1) {\n var header_text1 = header1.text();\n header_text1 = header_text1.trim();\n if (header_text1.includes('Status')) {\n cy.log(\"i1 \" + i1);\n trans1 = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i1 + '\"]';\n cy.get(trans1).then(function (element) {\n expect(element.text()).to.include('Paid');\n });\n return false;\n }\n i1++;\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/08Process_Payment_Wire_Status_Paid.spec.js:106:8)","diff":null},"uuid":"0b702d82-fe76-4712-b99c-9b28b3cc3de2","parentUUID":"ad368738-e22a-4e28-8d6a-92d6b49d43a3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0b702d82-fe76-4712-b99c-9b28b3cc3de2"],"pending":[],"skipped":[],"duration":14680,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8af29dbf-0aab-4244-be94-f5054919fa23","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":"c056886c-8755-4045-a86a-829fffd0f6cb","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":13587,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 20) {\n newbal = 20;\n status = \"Partially Paid\";\n } else {\n newbal = 20;\n status = \"Paid\";\n }\n cy.get('#cash_or_card-input').select('Wire', {\n force: true\n });\n cy.get('#status_pay-input').select('Pending', {\n force: true\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(3).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody a span').eq(0).click({\n force: true\n }).then(function () {\n cy.wait(7000);\n cy.get('a[data-target=\"#approve-modal\"]').click({\n force: true\n });\n cy.get('#approve-form button[type=\"submit\"]').click({\n force: true\n });\n });\n var index1 = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index1).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index1).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (bal - newbal);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index1).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index1++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n var i1 = 0;\n var trans1;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header1) {\n var header_text1 = header1.text();\n header_text1 = header_text1.trim();\n if (header_text1.includes('Status')) {\n trans1 = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i1 + '\"]';\n cy.get(trans1).then(function (element) {\n expect(element.text()).to.include('Paid');\n });\n return false;\n }\n i1++;\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/09Process_Payment_Wire_Status_Approve_Pending.spec.js:106:8)","diff":null},"uuid":"e609dda0-1944-4f6d-bee3-d80a7969fe80","parentUUID":"c056886c-8755-4045-a86a-829fffd0f6cb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e609dda0-1944-4f6d-bee3-d80a7969fe80"],"pending":[],"skipped":[],"duration":13587,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3d4a3d0a-af4a-4765-a45e-74742927c833","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":"034e3a0f-ab46-4ea9-8f5f-28eb6f457206","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":12334,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n }\n cy.get('#cash_or_card-input').select('Wire', {\n force: true\n });\n cy.get('#status_pay-input').select('Pending', {\n force: true\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(3).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody a span').eq(0).click({\n force: true\n }).then(function () {\n cy.wait(7000);\n cy.get('a[data-target=\"#decline-modal\"]').click({\n force: true\n });\n cy.get('#decline-form textarea').type('Some reason');\n cy.get('#decline-form button[type=\"submit\"]').click({\n force: true\n });\n });\n var index1 = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index1).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index1).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index1).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index1++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n var i1 = 0;\n var trans1;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header1) {\n var header_text1 = header1.text();\n header_text1 = header_text1.trim();\n if (header_text1.includes('Status')) {\n trans1 = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i1 + '\"]';\n cy.get(trans1).then(function (element) {\n expect(element.text()).to.include('Declined');\n });\n return false;\n }\n i1++;\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/10Process_Payment_Wire_Status_Decline_Pending.spec.js:106:8)","diff":null},"uuid":"25b3af7d-cd2e-4688-a01e-a50364627b44","parentUUID":"034e3a0f-ab46-4ea9-8f5f-28eb6f457206","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["25b3af7d-cd2e-4688-a01e-a50364627b44"],"pending":[],"skipped":[],"duration":12334,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8f1d2d3c-f9e6-4ebf-b9ed-0a9dfd0bf566","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":"5b67eb10-b6e2-4a30-a835-a762e6a69f9c","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Card","fullTitle":"Process Payment Make payment through Card","timedOut":null,"duration":12087,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 20) {\n newbal = 20;\n status = \"Partially Paid\";\n } else {\n newbal = 20;\n status = \"Paid\";\n }\n cy.wait(5000);\n cy.get('#cash_or_card-input').select('Card', {\n force: true\n });\n var flag = false;\n cy.get('#payment_method_id-input option').then(function (options) {\n cy.get(options).each(function (option) {\n if (!option.attr('style') && option.text() != 'Select A Method' && option.text() != 'No Payment Methods found') {\n var option_text = option.text().trim();\n cy.get('#payment_method_id-input').select(option_text);\n flag = true;\n return false;\n }\n }).then(function () {\n if (!flag) {\n addPayMethod();\n cy.get('#payment_method_id-input option').contains('Default').then(function (option) {\n var option_text = option.text().trim();\n cy.get('#payment_method_id-input').select(option_text);\n });\n }\n });\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('.form-group > .btn-create').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal > .modal-dialog > .modal-content > .modal-footer > .btn-create').click({\n force: true\n });\n cy.wait(12000); // cy.reload()\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (bal - newbal);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n });\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n var i = 0;\n var trans;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header) {\n var header_text = header.text();\n header_text = header_text.trim();\n if (header_text.includes('Unapplied Amount')) {\n trans = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i + '\"]';\n cy.get(trans).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n return false;\n }\n i++;\n });\n var i1 = 0;\n var trans1;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header1) {\n var header_text1 = header1.text();\n header_text1 = header_text1.trim();\n if (header_text1.includes('Status')) {\n cy.log(\"i1 \" + i1);\n trans1 = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i1 + '\"]';\n cy.get(trans1).then(function (element) {\n expect(element.text()).to.include('Paid');\n });\n return false;\n }\n i1++;\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/11Process_Payment_Card.spec.js:106:8)","diff":null},"uuid":"00727f93-1be3-4c17-9116-8f742452400b","parentUUID":"5b67eb10-b6e2-4a30-a835-a762e6a69f9c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["00727f93-1be3-4c17-9116-8f742452400b"],"pending":[],"skipped":[],"duration":12087,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4c174b88-2128-4bde-af35-59305514eba3","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":"2faa3741-e76a-4775-ae78-0fd6034465c1","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through eCheck","fullTitle":"Process Payment Make payment through eCheck","timedOut":null,"duration":15282,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 20) {\n newbal = 20;\n status = \"Partially Paid\";\n } else {\n newbal = 20;\n status = \"Paid\";\n }\n cy.get('#cash_or_card-input').select('eCheck', {\n force: true\n });\n cy.wait(10000);\n var flag = false;\n cy.get('#payment_method_id-input option').then(function (options) {\n cy.get(options).each(function (option) {\n if (!option.attr('style') && option.text() != 'Select A Method' && option.text() != 'No Payment Methods found') {\n var option_text = option.text().trim();\n cy.get('#payment_method_id-input').select(option_text);\n flag = true;\n return false;\n }\n }).then(function () {\n if (!flag) {\n addPayMethod();\n cy.get('#payment_method_id-input option').contains('Default').then(function (option) {\n var option_text = option.text().trim();\n cy.get('#payment_method_id-input').select(option_text);\n });\n }\n });\n });\n cy.get('#payment_method_id-input option').contains('Default').then(function (option) {\n cy.get('#payment_method_id-input').select(option.val());\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('#account_code_select').select('Suspense (250)');\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(25000);\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (bal - newbal); // var ClosingBalance1 = OpeningBalance + (bal);\n console.log('ClosingBalance1: ' + ClosingBalance1);\n console.log('OpeningBalance: ' + OpeningBalance);\n console.log('bal: ' + bal);\n console.log('newbal: ' + newbal);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n });\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n var i = 0;\n var trans;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header) {\n var header_text = header.text();\n header_text = header_text.trim();\n if (header_text.includes('Unapplied Amount')) {\n trans = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i + '\"]';\n cy.get(trans).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n return false;\n }\n i++;\n });\n var i1 = 0;\n var trans1;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header1) {\n var header_text1 = header1.text();\n header_text1 = header_text1.trim();\n if (header_text1.includes('Status')) {\n cy.log(\"i1 \" + i1);\n trans1 = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i1 + '\"]';\n cy.get(trans1).then(function (element) {\n expect(element.text()).to.include('Paid');\n });\n return false;\n }\n i1++;\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/12Process_Payment_eCheck.spec.js:106:8)","diff":null},"uuid":"ab33bf75-3d90-4162-94f3-94e6d82bd9ea","parentUUID":"2faa3741-e76a-4775-ae78-0fd6034465c1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ab33bf75-3d90-4162-94f3-94e6d82bd9ea"],"pending":[],"skipped":[],"duration":15282,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1906999b-500d-44f9-b1dd-3b0eebce14d9","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":"f3bf4332-3e18-447a-b327-dcda57a4ec5e","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":14278,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 20) {\n newbal = 20;\n status = \"Partially Paid\";\n } else {\n newbal = 20;\n status = \"Paid\";\n }\n cy.get('#cash_or_card-input').select('PayPal', {\n force: true\n });\n var flag = false;\n cy.get('#payment_method_id-input option').then(function (options) {\n cy.get(options).each(function (option) {\n if (!option.attr('style') && option.text() != 'Select A Method' && option.text() != 'No Payment Methods found') {\n var option_text = option.text().trim();\n cy.get('#payment_method_id-input').select(option_text);\n flag = true;\n return false;\n }\n }).then(function () {\n if (!flag) {\n addPayMethod();\n cy.get('#payment_method_id-input option').contains('Default').then(function (option) {\n var option_text = option.text().trim();\n cy.get('#payment_method_id-input').select(option_text);\n });\n }\n });\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n var i = 0;\n var trans;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header) {\n var header_text = header.text();\n header_text = header_text.trim();\n if (header_text.includes('Unapplied Amount')) {\n trans = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i + '\"]';\n cy.get(trans).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n return false;\n }\n i++;\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody a span').eq(0).click({\n force: true\n }).then(function () {\n cy.wait(7000);\n cy.get('.card-header .badge').should('have.class', 'badge-status-pending');\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/13Process_Payment_PayPal_Approve.spec.js:106:8)","diff":null},"uuid":"4a99f0c6-d12c-43da-88a0-f126d81921da","parentUUID":"f3bf4332-3e18-447a-b327-dcda57a4ec5e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4a99f0c6-d12c-43da-88a0-f126d81921da"],"pending":[],"skipped":[],"duration":14278,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b4e2ff17-a882-4de8-8d4a-847194286a32","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":"b13b3c5e-1bb1-47f9-8b08-8cc91a1f5791","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":12208,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n }\n cy.get('#cash_or_card-input').select('PayPal', {\n force: true\n });\n var flag = false;\n cy.get('#payment_method_id-input option').then(function (options) {\n cy.get(options).each(function (option) {\n if (!option.attr('style') && option.text() != 'Select A Method' && option.text() != 'No Payment Methods found') {\n var option_text = option.text().trim();\n cy.get('#payment_method_id-input').select(option_text);\n flag = true;\n return false;\n }\n }).then(function () {\n if (!flag) {\n addPayMethod();\n cy.get('#payment_method_id-input option').contains('Default').then(function (option) {\n var option_text = option.text().trim();\n cy.get('#payment_method_id-input').select(option_text);\n });\n }\n });\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(3).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody a span').eq(0).click({\n force: true\n }).then(function () {\n cy.wait(7000);\n cy.get('a[data-target=\"#decline-modal\"]').click({\n force: true\n });\n cy.get('#decline-form textarea').type('Some reason');\n cy.get('#decline-form button[type=\"submit\"]').click({\n force: true\n });\n });\n var index1 = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index1).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index1).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index1).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index1++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n var i1 = 0;\n var trans1;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header1) {\n var header_text1 = header1.text();\n header_text1 = header_text1.trim();\n if (header_text1.includes('Status')) {\n cy.log(\"i1 \" + i1);\n trans1 = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i1 + '\"]';\n cy.get(trans1).then(function (element) {\n expect(element.text()).to.include('Paid');\n });\n return false;\n }\n i1++;\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/14Process_Payment_PayPal_Decline.spec.js:106:8)","diff":null},"uuid":"cabbdcfb-befd-450d-905b-ddcfb99ae161","parentUUID":"b13b3c5e-1bb1-47f9-8b08-8cc91a1f5791","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cabbdcfb-befd-450d-905b-ddcfb99ae161"],"pending":[],"skipped":[],"duration":12208,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4d3a3309-7b09-4194-8e3b-60c507d0927c","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":"a33eac13-3877-4630-8b46-b641ba76cef1","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":12241,"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: `#navbarSupportedContent .fa-cog`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#navbarSupportedContent .fa-cog`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/15process_payment_with_paypal.spec.js:107:8)","diff":null},"uuid":"cdf16f0f-01b2-48e1-8df4-9a278f664b09","parentUUID":"a33eac13-3877-4630-8b46-b641ba76cef1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cdf16f0f-01b2-48e1-8df4-9a278f664b09"],"pending":[],"skipped":[],"duration":12241,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"012cd63f-da5e-4767-920a-b2a10402e128","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":"4a8d9b08-2e19-4fd8-bd69-6ececb2cdad7","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":26571,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n});\ncy.wait(8000);\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.wait(10000);\ncy.contains('Create Customer').should('be.visible');\ncy.get('.recordsCount').should('be.visible');\ncy.get('#sidebar-search').should('exist');\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').should('be.visible');\n cy.contains('Import').should('be.visible');\n cy.contains('Export').should('be.visible');\n});\ncy.get('#listViewTableEl .check-all-records').click({\n force: true\n}).then(function () {\n debugger;\n cy.contains('Actions').click({\n force: true\n }).then(function () {\n cy.contains('Send Mail').should('be.visible');\n cy.contains('Delete').should('be.visible');\n cy.contains('Update').should('be.visible');\n });\n});\ncy.get('#lv_filter_hide').click({\n force: true\n});\ncy.wait(3000);\ncy.get('.dropbtn.btn-import').contains('All').click({\n force: true\n}).then(function () {\n cy.contains('Create View').should('be.visible');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.fa.fa-bars`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.fa.fa-bars`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/01customer_page.spec.js:106:12)","diff":null},"uuid":"576fbc43-6456-4209-92fe-94ec36d89c31","parentUUID":"4a8d9b08-2e19-4fd8-bd69-6ececb2cdad7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["576fbc43-6456-4209-92fe-94ec36d89c31"],"pending":[],"skipped":[],"duration":26571,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b5498748-c6af-4344-b398-7ff2c35be4ff","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":"285ce8e7-619e-46a7-a316-c0499cfc97e3","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":22096,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Tes', {\n force: true\n}).then(function () {\n cy.wait(10000);\n var k = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.get(j).its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get(j).eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.include('tes');\n });\n }\n });\n } else {\n k = k + 1;\n }\n });\n});\ncy.get('#basic_search').clear().type('Test Customer', {\n force: true\n}).then(function () {\n cy.wait(10000);\n var m = -2;\n var n;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n n = \"[data-sfuniqueid = dataTable__table-td-\" + m + \"]\";\n cy.get(n).its('length').then(function ($length) {\n for (var z = 0; z < $length - 1; z++) {\n cy.get(n).eq(z).then(function ($element) {\n expect($element.text()).to.include('Test Customer');\n });\n }\n });\n } else {\n m = m + 1;\n }\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/04search_customer.spec.js:108:8)","diff":null},"uuid":"99e0659d-b14a-417d-a61d-7f1b188390bb","parentUUID":"285ce8e7-619e-46a7-a316-c0499cfc97e3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["99e0659d-b14a-417d-a61d-7f1b188390bb"],"pending":[],"skipped":[],"duration":22096,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"10ed7e6c-5f17-4149-8fe3-aadf24b1259b","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":"5080bd40-51d8-4e8c-a9c7-590969139a73","title":"Delete a customer","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Should delete customers","fullTitle":"Delete a customer Should delete customers","timedOut":null,"duration":22716,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\nvar m = -2;\nvar j;\ncy.get('.recordsCount small').then(function (tEBefore1) {\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + m + \"]\";\n cy.get(j).eq(5).then(function ($element) {\n cy.get('tbody tr td input').eq(5).click({\n force: true\n });\n cy.contains('Actions').click({\n force: true\n });\n cy.contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n cy.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n cy.get('.recordsCount').invoke('text').should('not.eq', tEBefore1.text()); // cy.get(j).eq(5).invoke('text').should('not.eq', $element.text())\n });\n });\n } else {\n m = m + 1;\n }\n });\n});\ncy.get('.recordsCount').then(function ($data) {\n for (var i = 0; i < 1; i++) {\n cy.get('tbody tr td input').eq(i).click({\n force: true\n });\n }\n cy.contains('Actions').click({\n force: true\n });\n cy.contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(10000);\n cy.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(30000);\n });\n cy.get('.recordsCount').invoke('text').should('not.eq', $data.text());\n});\nvar z = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + z + \"]\";\n cy.get(j).eq(5).then(function ($element) {\n cy.get('tbody tr td input').eq(5).click({\n force: true\n });\n cy.contains('Actions').click({\n force: true\n });\n cy.contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n cy.on('window:confirm', function () {\n return false;\n }).then(function () {\n cy.get('#listViewTableEl thead th').each(function (element) {\n cy.get(j).eq(5).invoke('text').should('not.eq', $element.text());\n });\n });\n });\n } else {\n z = z + 1;\n }\n});\ncy.wait(10000); // not necessary this part, \n//upper part doing the same task \n// cy.get('.recordsCount').then(($data) => {\n// for (var i = 0; i < 3; i++) {\n// cy.get('tbody tr td input').eq(i).click({ force: true })\n// }\n// cy.contains('Actions').click({ force: true })\n// cy.contains('Delete').click({ force: true })\n// cy.get('#confirmationModalOkay').click({ force: true })\n// cy.wait(5000)\n// cy.on('window:confirm', () => false)\n// cy.get('.recordsCount').invoke('text').should('not.eq', $data.text())\n// })","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.recordsCount small`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.recordsCount small`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/05delete_customer.spec.js:106:8)","diff":null},"uuid":"5e8fda70-0ce6-4444-8953-35cc9757620c","parentUUID":"5080bd40-51d8-4e8c-a9c7-590969139a73","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5e8fda70-0ce6-4444-8953-35cc9757620c"],"pending":[],"skipped":[],"duration":22716,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cbd9ec79-8bde-4b4c-953a-434acbb64a5a","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":"311c2389-c13a-4fba-a684-b3d6b802c248","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":23050,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.show-edit').eq(4).then(function (edit) {\n var Edit = edit.prop('href');\n cy.visit(Edit);\n});\ncy.url().should('contain', '/edit');\ncy.get('#name-input').then(function ($element) {\n cy.get($element).type(' Updated', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n cy.wait(25000);\n cy.url().should('contain', '/customer-detail/');\n cy.get('.page-title.p-title').should('contain', $element.text() + ' Updated');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.show-edit`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.show-edit`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/06edit_customer.spec.js:104:8)","diff":null},"uuid":"f56554a5-5cce-4240-b5c0-67942cae782c","parentUUID":"311c2389-c13a-4fba-a684-b3d6b802c248","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f56554a5-5cce-4240-b5c0-67942cae782c"],"pending":[],"skipped":[],"duration":23050,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"893023e0-a3cd-4af6-bd2f-507a4665ba9c","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":"d4d98ea1-7201-4015-a02f-a9ed2ed12f6c","title":"Clear Selections","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Unselect all selected entries","fullTitle":"Clear Selections Unselect all selected entries","timedOut":null,"duration":22157,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#listViewTableEl .check-all-records').click({\n force: true\n});\ncy.contains('Actions').should('be.visible');\ncy.get('.selected-rows a').should('be.visible').click({\n force: true\n});\ncy.get('tbody tr td input').then(function ($element) {\n for (var i = 0; i < $element.length; i++) {\n cy.get('tbody tr td input').eq(i).should('not.be.checked');\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#listViewTableEl .check-all-records`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#listViewTableEl .check-all-records`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/07clear_selection.spec.js:104:8)","diff":null},"uuid":"98ea6197-1a06-477f-a007-7a4660766ad9","parentUUID":"d4d98ea1-7201-4015-a02f-a9ed2ed12f6c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["98ea6197-1a06-477f-a007-7a4660766ad9"],"pending":[],"skipped":[],"duration":22157,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"38cce098-eeed-4830-bf4d-17118a2d927f","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":"11989b9b-aa90-4950-a0c2-7fa8b550fe06","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":25407,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#updated_at').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(15000);\nvar names1 = [];\nvar check1 = [];\nvar names2 = [];\nvar check2 = [];\ncy.get('#listViewTableEl thead th .fa.fa-sort').eq(0).click({\n force: true\n}).then(function () {\n cy.wait(15000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').each(function (elements) {\n // var normalizedelement = normalizeText(elements.text())\n names1.push(elements.text());\n check1.push(elements.text());\n check1.sort(function (a, b) {\n return b - a;\n });\n });\n});\ncy.wrap(names1).should(\"deep.equal\", check1);\ncy.get('#listViewTableEl thead th .fa.fa-sort').eq(0).click({\n force: true\n}).then(function () {\n cy.wait(7000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').each(function (elements) {\n names2.push(elements.text());\n check2.push(elements.text());\n check2.sort(function (a, b) {\n return b - a;\n });\n });\n});\ncy.wrap(names2).should(\"deep.equal\", check2);\nvar update1 = [];\nvar checkup1 = [];\nvar update2 = [];\nvar checkup2 = [];\nvar i = -2;\nvar j;\ncy.contains('Updated At').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text() == \"Updated At\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n cy.get(j).each(function (elements) {\n //var normalizedelement = normalizeText(elements.text())\n update1.push(elements.text());\n checkup1.push(elements.text());\n checkup1.sort(function (a, b) {\n return a.toLowerCase().localeCompare(b.toLowerCase());\n });\n });\n } else {\n i = i + 1;\n }\n});\ncy.wrap(update1).should(\"deep.equal\", checkup1);\ncy.contains('Updated At').click({\n force: true\n});\ncy.wait(10000);\nvar x = -2;\nvar y;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Updated At\")) {\n y = \"[data-sfuniqueid = dataTable__table-td-\" + x + \"]\";\n console.log(y);\n cy.get(y).each(function (elements) {\n //var normalizedelement = normalizeText(elements.text())\n update2.push(elements.text());\n checkup2.push(elements.text());\n checkup2.sort(function (a, b) {\n return b - a;\n });\n });\n } else {\n x = x + 1;\n }\n});\ncy.wrap(update2).should(\"deep.equal\", checkup2);","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/08aesc_desc.spec.js:108:8)","diff":null},"uuid":"9583adfa-ae19-47e6-ba92-9183ee2adb6b","parentUUID":"11989b9b-aa90-4950-a0c2-7fa8b550fe06","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9583adfa-ae19-47e6-ba92-9183ee2adb6b"],"pending":[],"skipped":[],"duration":25407,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a2f08972-0938-40c7-b809-359a3f9c3a04","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":"a07445be-a395-4186-bc6e-d40533917266","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":22204,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('tbody tr td input').then(function (elements) {\n for (var i = 0; i < 6; i++) {\n cy.get(elements).eq(i).click({\n force: true\n });\n }\n});\ncy.contains('Actions').click({\n force: true\n});\ncy.get('[data-target=\"#mass-update-modal\"]').contains('Update').click({\n force: true\n});\ncy.get('#massUpdateField').select('Phone Number');\ncy.wait(10000);\ncy.get('#massUpdateValue').type('03003673767');\ncy.get('button').contains('Update').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#phone_number').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(20000);\nvar m = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Phone Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + m + \"]\";\n console.log(j);\n for (var k = 0; k < 6; k++) {\n cy.get(j).eq(k).then(function (element) {\n expect(element.text()).to.include('03003673767');\n });\n }\n } else {\n m = m + 1;\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/09Bulk_update.spec.js:105:8)","diff":null},"uuid":"c25e0862-2c2d-460f-84a9-b37bfa9d140e","parentUUID":"a07445be-a395-4186-bc6e-d40533917266","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c25e0862-2c2d-460f-84a9-b37bfa9d140e"],"pending":[],"skipped":[],"duration":22204,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5710ceb5-58ff-455a-8268-ae3faf4b4bf9","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":"a58983e9-a2bd-4f82-b624-d1fde886d384","title":"Export Customer Data","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Export Customer data","fullTitle":"Export Customer Data Export Customer data","timedOut":null,"duration":23063,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(7000);\ncy.get(':nth-child(3) > .actions-dropdown > .btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-menu > [href=\"javascript:void(0);\"]').should('contain', 'Export').click({\n force: true\n});\ncy.wait(1500);\ncy.get('#ExportFieldsFilterModal > .modal-dialog > .modal-content > .modal-header > h5').should('contain', 'EXPORT');\ncy.get('#ExportFieldsFilterModal > .modal-dialog > .modal-content > .modal-body > :nth-child(1) > p').should('exist');\ncy.get('#ExportFieldsFilterModal > .modal-dialog > .modal-content > .modal-footer > .btn-warning').as('confirm');\ncy.get('@confirm').should('contain', 'EXPORT').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#toast-container .toast-success .toast-message').should('contain', 'Export is in progress.');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.wait(7000);\ncy.url().should('include', 'en/settings/administration');\ncy.get(':nth-child(3) > :nth-child(2) > .card-body > .card-title').should('contain', 'DATA ADMINISTRATION');\ncy.get(':nth-child(3) > :nth-child(2) > .card-body > :nth-child(3) > .text-white').click({\n force: true\n});\ncy.wait(15000);\ncy.get('tbody > :nth-child(1) > :nth-child(3)').should('contain', 'Processing');\ncy.get('tbody > :nth-child(1) > :nth-child(4)').should('contain', 'Customer');\ncy.get(':nth-child(4) > :nth-child(1) > .btn').click({\n force: true\n});\ncy.focused().should('contain', 'Download File');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `:nth-child(3) > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `:nth-child(3) > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/10Export_Customer_data.spec.js:104:8)","diff":null},"uuid":"a06134e6-79bb-4ec9-8f8b-dc3589790bc3","parentUUID":"a58983e9-a2bd-4f82-b624-d1fde886d384","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a06134e6-79bb-4ec9-8f8b-dc3589790bc3"],"pending":[],"skipped":[],"duration":23063,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"23e2da9f-033f-41dd-aecc-793d2215da89","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":"fa1051a5-6499-4ea9-adf8-70cb55085e27","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":22330,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Name\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Mary Girl', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.include('marygirl');\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Mary Girl', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.not.include('marygirl');\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('Ma', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.include('ma');\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('Ma', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.not.include('ma');\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('ma', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n var reg = /^ma/;\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('an', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n var reg = /an$/;\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#search-form .scheck label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#search-form .scheck label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/01filter_by_name.spec.js:110:8)","diff":null},"uuid":"6c7dfd59-2133-480e-b858-edecada6d186","parentUUID":"fa1051a5-6499-4ea9-adf8-70cb55085e27","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6c7dfd59-2133-480e-b858-edecada6d186"],"pending":[],"skipped":[],"duration":22330,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2f33c1ec-a1db-4cb6-8a20-4dac368d9cb8","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/02filter_by_customer_number.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/02filter_by_customer_number.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"4add0ebf-ed4d-4c61-8bba-0a1807f258d0","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":22093,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#customer_number').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Customer Number\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Customer Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[customer_number]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('CUST_27', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('CUST_27');\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_number]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('CUST_27', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('CUST_27');\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_number]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('6', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('6');\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_number]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('6', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('6');\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_number]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('CUST', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /^\\n CUST/;\n expect(elements.text()).to.match(reg);\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_number]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('7', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /7$/;\n var num_elements = elements.text().trim();\n expect(num_elements).to.match(reg);\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_number]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_number]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/02filter_by_customer_number.spec.js:108:8)","diff":null},"uuid":"ca9c8aa0-15b7-4cd3-bbbe-7ec009726a53","parentUUID":"4add0ebf-ed4d-4c61-8bba-0a1807f258d0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ca9c8aa0-15b7-4cd3-bbbe-7ec009726a53"],"pending":[],"skipped":[],"duration":22093,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"583d2fd4-b268-4d98-9bce-ea2da607d9ac","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/03filter_by_phone_number.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/03filter_by_phone_number.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"fe24be26-9529-4e11-bbdf-b8b185df95af","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":32868,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#phone_number').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Phone Number\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Phone Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[phone_number]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('03006789363', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('03006789363');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[phone_number]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('03006789363', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('03006789363');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[phone_number]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('6', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('6');\n });\n cy.get('.filerSelect [name=\"filter_condition[phone_number]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('6', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('6');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[phone_number]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('03', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n 03/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[phone_number]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('3', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /3$/;\n var ph_number = elements.text().trim();\n expect(ph_number).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[phone_number]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('\\n \\n ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[phone_number]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq(' ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/03filter_by_phone_number.spec.js:108:8)","diff":null},"uuid":"19a182af-3e5a-408c-9894-6230a2310f3b","parentUUID":"fe24be26-9529-4e11-bbdf-b8b185df95af","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["19a182af-3e5a-408c-9894-6230a2310f3b"],"pending":[],"skipped":[],"duration":32868,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"67eeb4f8-742a-4cef-b1c1-5966935b509b","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":"f1b90264-f336-4316-8beb-7c35184885f4","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":22350,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#email').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(15000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Email\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Email\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('andybary@mail.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('andybary@mail.com');\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('andybary@mail.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('andybary@mail.com');\n }); // cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"contains\", { force: true })\n // cy.get(y).type('mailinator', { force: true })\n // cy.get('.apply-filter').contains('Apply Filter').click({ force: true })\n // cy.wait(20000)\n // cy.get(j).each(elements => {\n // expect(elements.text()).to.include('mailinator')\n // })\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('mailinator', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('mailinator');\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('ma', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^ma/;\n var cust_email = elements.text().toLowerCase().trim();\n expect(cust_email).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('r.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /r.com$/;\n var cust_email = elements.text().trim();\n expect(cust_email).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(30000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(5000);\n cy.get('td').each(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('');\n return 0;\n });\n cy.log('else part');\n }\n });\n } else {\n i = i + 1;\n return 0;\n }\n });\n } else {\n x = x + 1;\n return 0;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/04filter_by_email.spec.js:108:8)","diff":null},"uuid":"4bfe2e26-b690-46d1-a7ca-13f09aa8ec53","parentUUID":"f1b90264-f336-4316-8beb-7c35184885f4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4bfe2e26-b690-46d1-a7ca-13f09aa8ec53"],"pending":[],"skipped":[],"duration":22350,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"87c49c6b-f19b-4a52-9c20-1bc76baf0f34","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":"61ad58f7-bbca-4734-a02c-ac1b0783f3e8","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":25465,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#po_number').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"PO Number\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"PO Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j); // cy.get('.filerSelect [name=\"filter_condition[po_number]\"]').should('be.visible').select('is',{force:true})\n // cy.get(y).type('808',{force:true})\n // cy.get('.apply-filter').contains('Apply Filter').click({force:true})\n // cy.wait(10000)\n // cy.get('tbody tr').then(rows => {\n // if((rows.text()).includes('No Records Found')){\n // expect(rows.text()).to.include('No Records Found')\n // }\n // else{\n // cy.get(j).each(elements => {\n // expect(elements.text()).to.include('808')\n // })\n // }\n // })\n // cy.get('.filerSelect [name=\"filter_condition[po_number]\"]').select(\"isn't\",{force:true})\n // cy.get(y).type('808',{force:true})\n // cy.get('.apply-filter').contains('Apply Filter').click({force:true})\n // cy.wait(10000)\n // cy.get('tbody tr').then(rows => {\n // if((rows.text()).includes('No Records Found')){\n // expect(rows.text()).to.include('No Records Found')\n // }\n // else{\n // cy.get(j).each(elements => {\n // expect(elements.text()).to.not.include('808')\n // })\n // }\n // })\n // cy.get('.filerSelect [name=\"filter_condition[po_number]\"]').select(\"contains\",{force:true})\n // cy.get(y).type('6',{force:true})\n // cy.get('.apply-filter').contains('Apply Filter').click({force:true})\n // cy.wait(10000)\n // cy.get('tbody tr').then(rows => {\n // if((rows.text()).includes('No Records Found')){\n // expect(rows.text()).to.include('No Records Found')\n // }\n // else{\n // cy.get(j).each(elements => {\n // expect(elements.text()).to.include('6')\n // })\n // } \n // })\n // cy.get('.filerSelect [name=\"filter_condition[po_number]\"]').select(\"doesn't contain\",{force:true})\n // cy.get(y).type('6',{force:true})\n // cy.get('.apply-filter').contains('Apply Filter').click({force:true})\n // cy.wait(10000)\n // cy.get('tbody tr').then(rows => {\n // if((rows.text()).includes('No Records Found')){\n // expect(rows.text()).to.include('No Records Found')\n // }\n // else{\n // cy.get(j).each(elements => {\n // expect(elements.text()).to.not.include('6')\n // })\n // }\n // })\n // cy.get('.filerSelect [name=\"filter_condition[po_number]\"]').select(\"starts with\",{force:true})\n // cy.get(y).type('8',{force:true})\n // cy.get('.apply-filter').contains('Apply Filter').click({force:true})\n // cy.wait(10000)\n // cy.get('tbody tr').then(rows => {\n // if((rows.text()).includes('No Records Found')){\n // expect(rows.text()).to.include('No Records Found')\n // }\n // else{\n // cy.get(j).each(elements => {\n // var reg = /^\\n 8/;\n // expect(elements.text()).to.match(reg)\n // })\n // }\n // })\n // cy.get('.filerSelect [name=\"filter_condition[po_number]\"]').select(\"ends with\",{force:true})\n // cy.get(y).type('8',{force:true})\n // cy.get('.apply-filter').contains('Apply Filter').click({force:true})\n // cy.wait(10000)\n // cy.get('tbody tr').then(rows => {\n // if((rows.text()).includes('No Records Found')){\n // expect(rows.text()).to.include('No Records Found')\n // }\n // else{\n // cy.get(j).each(elements => {\n // var reg = /8$/;\n // expect(elements.text()).to.match(reg)\n // })\n // }\n // })\n // cy.get('.filerSelect [name=\"filter_condition[po_number]\"]').select(\"is empty\",{force:true})\n // cy.get('.apply-filter').contains('Apply Filter').click({force:true})\n // cy.wait(10000)\n // cy.get('tbody tr').then(rows => {\n // if((rows.text()).includes('No Records Found')){\n // expect(rows.text()).to.include('No Records Found')\n // }\n // else{\n // cy.get(j).each(elements => {\n // expect(elements.text()).to.include('')\n // })\n // }\n // })\n cy.get('.filerSelect [name=\"filter_condition[po_number]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var cust_PO = elements.text().trim();\n cust_PO = cust_PO.replace('/\\n/g', '');\n expect(cust_PO).not.to.be.empty;\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/05filter_by_PO.spec.js:108:8)","diff":null},"uuid":"798422a1-3879-4f41-b7cf-4a9bd278bfbb","parentUUID":"61ad58f7-bbca-4734-a02c-ac1b0783f3e8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["798422a1-3879-4f41-b7cf-4a9bd278bfbb"],"pending":[],"skipped":[],"duration":25465,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ae2327ae-cf75-4e6c-819b-f88b045e8334","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":"10794ed8-1fb7-4db1-8575-db0ea90c5e5a","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":22151,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#legal_entity').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Legal Entity\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Legal Entity\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[legal_entity]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get('#select2-legal_entity-input-container').click({\n force: true\n });\n cy.get('#select2-legal_entity-input-results li').contains('North America').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('North America');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[legal_entity]\"]').select(\"isn't\", {\n force: true\n });\n cy.get('#select2-legal_entity-input-container').click({\n force: true\n });\n cy.get('#select2-legal_entity-input-results li').contains('North America').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('North America');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[legal_entity]\"]').select('contains', {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-legal_entity-input-results li').contains('North America').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('North America');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[legal_entity]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-legal_entity-input-results li').contains('North America').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('North America');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[legal_entity]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[legal_entity]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/06filter_by_LegalEntity.spec.js:108:8)","diff":null},"uuid":"bc5b69f2-7148-40b4-90b7-cfdf80d8c95e","parentUUID":"10794ed8-1fb7-4db1-8575-db0ea90c5e5a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bc5b69f2-7148-40b4-90b7-cfdf80d8c95e"],"pending":[],"skipped":[],"duration":22151,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"55dd7356-03a5-45a9-8791-50676f21d5ce","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":"932b0e6e-e7f1-4fa2-b398-a25d58b337ab","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":27180,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_cycle_day').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Billing Cycle Day\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Billing Cycle Day\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_cycle_day]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get('#select2-billing_cycle_day-input-container').click({\n force: true\n });\n cy.get('#select2-billing_cycle_day-input-results li').contains('1st of the Month').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('1');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_cycle_day]\"]').select(\"isn't\", {\n force: true\n });\n cy.get('#select2-billing_cycle_day-input-container').click({\n force: true\n });\n cy.get('#select2-billing_cycle_day-input-results li').contains('1st of the Month').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('1');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_cycle_day]\"]').select('contains', {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-billing_cycle_day-input-results li').contains('1st of the Month').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('1');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_cycle_day]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-billing_cycle_day-input-results li').contains('1st of the Month').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('1');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_cycle_day]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_cycle_day]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).not.to.be.empty;\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/07filter_by_billingCycle.spec.js:108:8)","diff":null},"uuid":"52d6e8a9-f207-43f5-9571-b325fbfc6e5e","parentUUID":"932b0e6e-e7f1-4fa2-b398-a25d58b337ab","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["52d6e8a9-f207-43f5-9571-b325fbfc6e5e"],"pending":[],"skipped":[],"duration":27180,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3af8175b-f632-4577-9581-5475fa429c27","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":"1ad22bc7-cdc0-4242-921c-26351436d23b","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":22177,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Tax Exempt\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Tax Exempt\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] i\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[tax_exempt]\"]').should('be.visible').select('is checked', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n cy.get(elements).should('have.class', 'fa-check');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[tax_exempt]\"]').select(\"is not checked\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n cy.get(elements).should('have.class', 'fa-times');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#search-form .scheck label`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#search-form .scheck label`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/08filter_by_TaxExempt.spec.js:110:8)","diff":null},"uuid":"5994c301-f5fd-40db-b370-44d866a3e7c5","parentUUID":"1ad22bc7-cdc0-4242-921c-26351436d23b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5994c301-f5fd-40db-b370-44d866a3e7c5"],"pending":[],"skipped":[],"duration":22177,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f5f12eeb-30a1-4235-a387-f3cfb193aa32","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":"aa4c0208-7963-42d4-95b4-31f72e245c42","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":22870,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#certificate_id').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Certificate ID\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Certificate ID\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[certificate_id]\"]').select('is', {\n force: true\n });\n cy.get(y).type('jkjhkj', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('jkjhkj');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_id]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('jkjhkj', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('jkjhkj');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_id]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('j', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('j');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_id]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('j', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('j');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_id]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('jk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n jk/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_id]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('hkj', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /hkj$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_id]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_id]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/09filter_by_certificateid.spec.js:108:8)","diff":null},"uuid":"e2923956-7f92-4050-97a3-94f0b5e6a7b7","parentUUID":"aa4c0208-7963-42d4-95b4-31f72e245c42","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e2923956-7f92-4050-97a3-94f0b5e6a7b7"],"pending":[],"skipped":[],"duration":22870,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e035985e-727c-4430-9348-74d777376d56","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":"649b0050-755c-49b1-b991-fa648493687b","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":22168,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#certificate_type').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Certificate Type\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Certificate Type\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[certificate_type]\"]').select('is', {\n force: true\n });\n cy.get(y).type('jhkjjhk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('jhkjjhk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_type]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('jhkjjhk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('jhkjjhk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_type]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('j', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('j');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_type]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('j', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('j');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_type]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('jh', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n jh/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_type]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('hk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /hk$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_type]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_type]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/10filter_by_certificatetype.spec.js:108:8)","diff":null},"uuid":"4c6ed631-f4d7-49f3-8378-28fc281856b2","parentUUID":"649b0050-755c-49b1-b991-fa648493687b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4c6ed631-f4d7-49f3-8378-28fc281856b2"],"pending":[],"skipped":[],"duration":22168,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"88c6ea01-a673-41fc-a5b4-457b84b7ba49","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":"7fd89968-605f-4d2d-968a-d46fd359b93a","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":22147,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#issuing_jurisdiction').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Issuing Jurisdiction\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Issuing Jurisdiction\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[issuing_jurisdiction]\"]').select('is', {\n force: true\n });\n cy.get(y).type('jhkjhkjh', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('jhkjhkjh');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[issuing_jurisdiction]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('jhkjhkjh', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('jhkjhkjh');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[issuing_jurisdiction]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('j', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('j');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[issuing_jurisdiction]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('j', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('j');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[issuing_jurisdiction]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('jh', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n jh/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[issuing_jurisdiction]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('jh', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /jh$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[issuing_jurisdiction]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[issuing_jurisdiction]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/11filter_by_issuingJurisdiction.spec.js:108:8)","diff":null},"uuid":"4d744f4b-483f-4ae9-bf14-4a1d81d949ec","parentUUID":"7fd89968-605f-4d2d-968a-d46fd359b93a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4d744f4b-483f-4ae9-bf14-4a1d81d949ec"],"pending":[],"skipped":[],"duration":22147,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ce7bb0e0-c01b-4c7c-9d91-5e06123cc525","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":"cd11ceae-1ac3-4c88-b6a9-5ad20eadf8ad","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":25572,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#entity_use_code').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Entity Use Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Entity Use Code\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[entity_use_code]\"]').should('exist').select('is', {\n force: true\n });\n cy.get('#select2-entity_use_code-input-container').click({\n force: true\n });\n cy.get('#select2-entity_use_code-input-results li').contains('State government').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').each(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('B');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[entity_use_code]\"]').select(\"isn't\", {\n force: true\n });\n cy.get('#select2-entity_use_code-input-container').click({\n force: true\n });\n cy.get('#select2-entity_use_code-input-results li').contains('State government').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').each(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('B');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[entity_use_code]\"]').select('contains', {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-entity_use_code-input-results li').contains('State government').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').each(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('B');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[entity_use_code]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-entity_use_code-input-results li').contains('State government').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').each(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('B');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[entity_use_code]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[entity_use_code]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/12filter_by_entityUsecode.spec.js:104:8)","diff":null},"uuid":"37749d72-108f-4dd7-8bc4-ce91397cd210","parentUUID":"cd11ceae-1ac3-4c88-b6a9-5ad20eadf8ad","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["37749d72-108f-4dd7-8bc4-ce91397cd210"],"pending":[],"skipped":[],"duration":25572,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a5c716e0-7209-43bd-9ccf-ac3f6026f0f8","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":"f7518356-88d2-46f0-99a5-f2c40ed68b07","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":22101,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#description').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Description\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Description\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[description]\"]').should('exist').select('is', {\n force: true\n });\n cy.get(y).type('jkhjkhjk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('jkhjkhjk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[description]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('jkhjkhjk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('jkhjkhjk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[description]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('j', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('j');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[description]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('j', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('j');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[description]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('jk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n jk/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[description]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('jk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /jk$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[description]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[description]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/13filter_by_Description.spec.js:108:8)","diff":null},"uuid":"2fdcf078-8fca-473b-9b00-e2129b3d4196","parentUUID":"f7518356-88d2-46f0-99a5-f2c40ed68b07","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2fdcf078-8fca-473b-9b00-e2129b3d4196"],"pending":[],"skipped":[],"duration":22101,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"aab4f67b-9ac7-4cb3-8560-0d8b7d8e5067","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":"14b0a7be-b62c-409d-8619-f753e5a34e3a","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":24169,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#tax_company').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Tax Company\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Tax Company\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[tax_company]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get('#select2-tax_company-input-container').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#select2-tax_company-input-results li').contains('Techlo').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('techlo');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[tax_company]\"]').select(\"isn't\", {\n force: true\n });\n cy.get('#select2-tax_company-input-container').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#select2-tax_company-input-results li').contains('Techlo').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('techlo');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[tax_company]\"]').select(\"contains\", {\n force: true\n });\n cy.wait(2000);\n cy.get('.select2-selection.select2-selection--multiple').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.select2-results__option').contains('Techlo').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('techlo');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[tax_company]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-selection.select2-selection--multiple').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.select2-results__option').contains('Techlo').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('techlo');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[tax_company]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[tax_company]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/14filter_by_TaxCompany.spec.js:108:8)","diff":null},"uuid":"e8e849af-38ac-42fe-8d35-1d682196c017","parentUUID":"14b0a7be-b62c-409d-8619-f753e5a34e3a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e8e849af-38ac-42fe-8d35-1d682196c017"],"pending":[],"skipped":[],"duration":24169,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1c55a3e9-cf23-4d7c-9bb4-8c25a766ee84","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":"0dd6c483-e51e-4566-8cb6-314a6c0e9d38","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":22128,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#vat_id').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"VAT ID\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"VAT ID\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[vat_id]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('43tssd', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('43tssd');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[vat_id]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('43tssd', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('43tssd');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[vat_id]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('s', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('s');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[vat_id]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('s', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('s');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[vat_id]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('43', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n 43/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[vat_id]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('ssd', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /ssd$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[vat_id]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[vat_id]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/15filter_by_VATID.spec.js:108:8)","diff":null},"uuid":"20ea4339-3f8d-4e77-a417-4ed5898f4a4f","parentUUID":"0dd6c483-e51e-4566-8cb6-314a6c0e9d38","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["20ea4339-3f8d-4e77-a417-4ed5898f4a4f"],"pending":[],"skipped":[],"duration":22128,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"772f155a-933f-4207-9799-0fc11727cd15","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":"905e9ce9-9200-4171-827e-0687b1ebc805","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":22120,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#portal_is_enabled').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Portal Is Enabled\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Portal Is Enabled\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] i\";\n cy.get('.filerSelect [name=\"filter_condition[portal_is_enabled]\"]').should('exist').select('is checked', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n cy.get(elements).should('have.class', 'fa-check');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[portal_is_enabled]\"]').select(\"is not checked\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n cy.get(elements).should('have.class', 'fa-times');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/16filter_by_PortalisEnabled.spec.js:104:8)","diff":null},"uuid":"98e13772-81d3-4f86-b712-cb1c30dddda7","parentUUID":"905e9ce9-9200-4171-827e-0687b1ebc805","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["98e13772-81d3-4f86-b712-cb1c30dddda7"],"pending":[],"skipped":[],"duration":22120,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9a8589af-abfd-47b2-a013-bc0ef118de28","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":"374765c2-5a37-4c63-89af-743f5511cfb6","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":23288,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_address_1').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing Address 1\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Billing Address 1\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('yuytu', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('yuytu');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('yuytu', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('yuytu');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('t', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('t');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('t', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('t');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('yu', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n yu/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('tu', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /tu$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).not.to.be.empty;\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/17filter_by_BillingAddress1.spec.js:108:8)","diff":null},"uuid":"82c5f893-cf10-4484-be7e-d596d4a9c341","parentUUID":"374765c2-5a37-4c63-89af-743f5511cfb6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["82c5f893-cf10-4484-be7e-d596d4a9c341"],"pending":[],"skipped":[],"duration":23288,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6e22c87f-0844-4114-9a9e-937ca484ae2a","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":"901f434a-e9f8-4d28-ae47-3c28a894446d","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":22038,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_address_2').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing Address 2\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Billing Address 2\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('utytu', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('utytu');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('utytu', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('utytu');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('t', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('t');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('t', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('t');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('ut', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^ut/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('tu', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /tu$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).not.to.be.empty;\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/18filter_by_BillingAddress2.spec.js:108:8)","diff":null},"uuid":"2ba4be71-800d-40d5-bbc6-671742f02858","parentUUID":"901f434a-e9f8-4d28-ae47-3c28a894446d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2ba4be71-800d-40d5-bbc6-671742f02858"],"pending":[],"skipped":[],"duration":22038,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a0896cf0-1110-41ae-a807-9a7f2195543c","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":"3c566322-90ff-472c-bfd2-8fee6ede7d24","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":25474,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_country').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing Country\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Billing Country\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('PK', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('PK');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('PK', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('PK');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('PK', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('PK');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('PK', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('PK');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('PK', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n PK/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('PK', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /PK$/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).not.to.be.empty;\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/19filter_by_Billing_Country.spec.js:104:8)","diff":null},"uuid":"fd986ee6-dea3-46f3-a862-5547b918bf7f","parentUUID":"3c566322-90ff-472c-bfd2-8fee6ede7d24","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fd986ee6-dea3-46f3-a862-5547b918bf7f"],"pending":[],"skipped":[],"duration":25474,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3cad7263-b4f2-499d-b407-963d41fecb37","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":"255c4881-dd7b-4ad8-bf8d-4985e1e4a2ce","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":22369,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_state').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing State\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Billing State\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Punjab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('Punjab');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Punjab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('Punjab');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('un', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('un');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('un', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('un');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('Pu', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n PU/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('ab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /AB$/;\n var custState = elements.text().trim().toUpperCase();\n expect(custState).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/20filter_by_BillingState.spec.js:104:8)","diff":null},"uuid":"38827dfd-9c17-479d-89c2-9eeefe893822","parentUUID":"255c4881-dd7b-4ad8-bf8d-4985e1e4a2ce","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["38827dfd-9c17-479d-89c2-9eeefe893822"],"pending":[],"skipped":[],"duration":22369,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"87d25b5a-722c-41ea-887f-035491b4e24b","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":"4485142d-a559-4e2d-9e5e-5cf18f0d5dfc","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":22052,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_city').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing City\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Billing City\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Lahore', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('lahore');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Lahore', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('lahore');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('ho', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('ho');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('ho', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('ho');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('La', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^la/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('re', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /re$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include(' ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/21filter_by_BillingCity.spec.js:108:8)","diff":null},"uuid":"c6924206-6f04-4544-bc1e-83140e6323e9","parentUUID":"4485142d-a559-4e2d-9e5e-5cf18f0d5dfc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c6924206-6f04-4544-bc1e-83140e6323e9"],"pending":[],"skipped":[],"duration":22052,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b3ae9525-a62f-4d19-8a92-4b1042b60aaa","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":"9360f3cd-a8d8-4826-a14e-6f1c1159fe27","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":22363,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_postal_code').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing Postal Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Billing Postal Code\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('53720', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('53720');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('53720', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('53720');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('37', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('37');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('37', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('37');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('53', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^53/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('20', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /20$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include(' ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/22filter_by_BillingPostalCode.spec.js:108:8)","diff":null},"uuid":"dbe26d86-7a95-406c-b4fd-f8341925c026","parentUUID":"9360f3cd-a8d8-4826-a14e-6f1c1159fe27","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dbe26d86-7a95-406c-b4fd-f8341925c026"],"pending":[],"skipped":[],"duration":22363,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"da15fe31-ad32-458e-a123-09b966b614cc","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":"a4ef03fe-75fd-4ce7-9abc-39ccf7a024fa","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":22775,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_address_1').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Shipping Address 1\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Shipping Address 1\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('jhkjhk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('jhkjhk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('jhkjhk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('jhkjhk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('k', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('k');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('k', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('k');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('jh', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n jh/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('hk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /hk$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include(' ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/23filter_by_ShippingAddress1.spec.js:108:8)","diff":null},"uuid":"7d6e9121-6680-4650-8709-571935e8afb0","parentUUID":"a4ef03fe-75fd-4ce7-9abc-39ccf7a024fa","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7d6e9121-6680-4650-8709-571935e8afb0"],"pending":[],"skipped":[],"duration":22775,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6831e5c6-168b-4057-9103-24a2ad5059f0","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":"994cc8e1-45d7-41f3-b4ed-4698902f299d","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":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('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_address_2').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Shipping Address 2\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Shipping Address 2\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('jkhkhj', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('jkhkhj');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('jkhkhj', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('jkhkhj');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('k', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('k');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('k', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('k');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('jk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n jk/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('hj', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /hj$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include(' ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/24filter_by_ShippingAddress2.spec.js:108:8)","diff":null},"uuid":"b056776d-9525-4ef9-834c-8e74d93eb7cc","parentUUID":"994cc8e1-45d7-41f3-b4ed-4698902f299d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b056776d-9525-4ef9-834c-8e74d93eb7cc"],"pending":[],"skipped":[],"duration":26367,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fd4b4150-4b95-437e-8a18-cbe49226570a","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":"86e5aea7-2ca0-42af-a89c-78da8a4f65d9","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":22101,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_country').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Shipping Country\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Shipping Country\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('dz', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('dz');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('dz', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('dz');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('dz', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('dz');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('dz', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('dz');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('d', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^d/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('z', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /z$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include(' ');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/25filter_by_ShippingCountry.spec.js:108:8)","diff":null},"uuid":"56b76cab-93ae-44df-98bc-f1ba533bc252","parentUUID":"86e5aea7-2ca0-42af-a89c-78da8a4f65d9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["56b76cab-93ae-44df-98bc-f1ba533bc252"],"pending":[],"skipped":[],"duration":22101,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2d12708c-504c-42ad-b956-03e4c5d19acb","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":"433ef5e6-f385-4b7c-9a53-5b91ac17f013","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":23634,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_state').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Shipping State\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Shipping State\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Aïn Defla Province', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('aïndeflaprovince');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Aïn Defla Province', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('aïndeflaprovince');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('fla', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('fla');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('fla', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('fla');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('pu', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n pu/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('ce', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /ce$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include(' ');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/26filter_by_ShippingState.spec.js:108:8)","diff":null},"uuid":"48b9e0fa-8dd4-4737-829f-9f66a86968d0","parentUUID":"433ef5e6-f385-4b7c-9a53-5b91ac17f013","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["48b9e0fa-8dd4-4737-829f-9f66a86968d0"],"pending":[],"skipped":[],"duration":23634,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c3b7bc41-470f-45a1-bc7c-77259e206805","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":"f648b56d-485b-4236-8fc9-c266cd87e564","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":25139,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_city').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Shipping City\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Shipping City\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('El Abadia', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('elabadia');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('El Abadia', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('elabadia');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('aba', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('aba');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('aba', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('aba');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('El', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^el/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('dia', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /dia$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).not.to.be.empty;\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/27filter_by_ShippingCity.spec.js:108:8)","diff":null},"uuid":"4e887155-a956-4222-b680-199b27c2e7a6","parentUUID":"f648b56d-485b-4236-8fc9-c266cd87e564","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4e887155-a956-4222-b680-199b27c2e7a6"],"pending":[],"skipped":[],"duration":25139,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4caef6ca-8ea4-48ca-aff5-b5bc8e71ceae","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":"809136ee-3ef8-45de-b5d7-a0950423455c","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":22274,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_postal_code').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Shipping Postal Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Shipping Postal Code\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('jkhjk898', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('jkhjk898');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('jkhjk898', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('jkhjk898');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('j', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('j');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('j', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('j');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('jk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n jk/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('898', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /898$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).not.to.be.empty;\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/28filter_by_ShippingPostalCode.spec.js:108:8)","diff":null},"uuid":"3ec96440-00c8-471f-94eb-e57731aecdc3","parentUUID":"809136ee-3ef8-45de-b5d7-a0950423455c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3ec96440-00c8-471f-94eb-e57731aecdc3"],"pending":[],"skipped":[],"duration":22274,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a2f58c7b-912d-493b-87e2-b2e3a7519357","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":"621983cf-adc0-48c8-a8c3-2baadb5c7f24","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":23551,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#created_at').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(3000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Created At\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Created At\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').scrollIntoView().should('be.visible').select('Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[created_at]\"]').type('03/05/2021');\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#table-scroll tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n var date = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM/DD/yyyy');\n expect(date).equal('03/05/2021');\n expect(elements.text()).to.include('03/05/2021');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Before', {\n force: true\n });\n cy.get('input[name=\"filter_value[created_at]\"]').type('03/05/2021');\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#table-scroll tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n var year = Cypress.moment(dateString, 'MM/DD/yyyy').format('yyyy');\n var yearInt = parseInt(year);\n var month = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n var monthInt = parseInt(month);\n var date = Cypress.moment(dateString, 'MM/DD/yyyy').format('DD');\n var dateInt = parseInt(date);\n console.log(yearInt);\n console.log(monthInt);\n console.log(dateInt);\n if (yearInt < 2020) {\n expect(yearInt).to.be.lessThan(2020);\n } else if (yearInt == 2020) {\n if (monthInt < 9) {\n expect(monthInt).to.be.lessThan(9);\n } else if (monthInt == 9) {\n expect(dateInt).to.be.lessThan(29);\n }\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('After', {\n force: true\n });\n cy.get('input[name=\"filter_value[created_at]\"]').type('01/29/2021');\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#table-scroll tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n var year = Cypress.moment(dateString, 'MM/DD/yyyy').format('yyyy');\n var yearInt = parseInt(year);\n var month = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n var monthInt = parseInt(month);\n var date = Cypress.moment(dateString, 'MM/DD/yyyy').format('DD');\n var dateInt = parseInt(date);\n console.log(yearInt);\n console.log(monthInt);\n console.log(dateInt);\n if (yearInt > 2020) {\n expect(yearInt).to.be.greaterThan(2020);\n } else if (yearInt == 2020) {\n if (monthInt > 9) {\n expect(monthInt).to.be.greaterThan(9);\n } else if (monthInt == 9) {\n expect(dateInt).to.be.greaterThan(29);\n }\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Today', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#table-scroll tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var Todaydate = Cypress.moment().format('MM/DD/yyyy');\n var dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n var date = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM/DD/yyyy');\n expect(Todaydate).equal(date);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Yesterday', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#table-scroll tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM/DD/yyyy');\n var Todaydate = Cypress.moment().subtract(1, 'days').startOf('day');\n Todaydate = Cypress.moment(Todaydate, \"MM/DD/yyyy\").format('MM/DD/yyyy');\n expect(Todaydate).equal(datetxt);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Last Week', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#table-scroll tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var datetxt = new Date(dateString); //var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy hh:mm').format('MM/DD/yyyy hh:mm');\n var Today = Cypress.moment().format('MM/ddd/yyyy');\n var date = Cypress.moment(Today, 'MM/ddd/yyyy')._i;\n date = date.replace(/[^[a-zA-Z]/g, '');\n if (date == 'Sun') {\n var Saturday = Cypress.moment().subtract(0, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(6, 'days').startOf('day');\n }\n if (date == 'Mon') {\n var Saturday = Cypress.moment().subtract(1, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(7, 'days').startOf('day');\n }\n if (date == 'Tue') {\n var Saturday = Cypress.moment().subtract(2, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(8, 'days').startOf('day');\n }\n if (date == 'Wed') {\n var Saturday = Cypress.moment().subtract(3, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(9, 'days').startOf('day');\n }\n if (date == 'Thu') {\n var Saturday = Cypress.moment().subtract(4, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(10, 'days').startOf('day');\n }\n if (date == 'Fri') {\n var Saturday = Cypress.moment().subtract(5, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(11, 'days').startOf('day');\n }\n if (date == 'Sat') {\n var Saturday = Cypress.moment().subtract(6, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(12, 'days').startOf('day');\n }\n Saturday = Cypress.moment(Saturday, \"MM/DD/yyyy\").format('MM/DD/yyyy');\n Saturday = new Date(Saturday);\n Sunday = Cypress.moment(Sunday, \"MM/DD/yyyy\").format('MM/DD/yyyy');\n Sunday = new Date(Sunday);\n expect(datetxt).within(Sunday, Saturday);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Current Week', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#table-scroll tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var datetxt = new Date(dateString); //var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy hh:mm').format('MM/DD/yyyy hh:mm');\n var Today = Cypress.moment().format('MM/ddd/yyyy');\n var date = Cypress.moment(Today, 'MM/ddd/yyyy')._i;\n date = date.replace(/[^[a-zA-Z]/g, '');\n if (date == 'Sun') {\n var Saturday = Cypress.moment().add(6, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(0, 'days').startOf('day');\n }\n if (date == 'Mon') {\n var Saturday = Cypress.moment().add(5, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(1, 'days').startOf('day');\n }\n if (date == 'Tue') {\n var Saturday = Cypress.moment().add(4, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(2, 'days').startOf('day');\n }\n if (date == 'Wed') {\n var Saturday = Cypress.moment().add(3, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(3, 'days').startOf('day');\n }\n if (date == 'Thu') {\n var Saturday = Cypress.moment().add(2, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(4, 'days').startOf('day');\n }\n if (date == 'Fri') {\n var Saturday = Cypress.moment().add(1, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(5, 'days').startOf('day');\n }\n if (date == 'Sat') {\n var Saturday = Cypress.moment().add(0, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(6, 'days').startOf('day');\n }\n Saturday = Cypress.moment(Saturday, \"MM/DD/yyyy\").format('MM/DD/yyyy');\n Saturday = new Date(Saturday);\n Sunday = Cypress.moment(Sunday, \"MM/DD/yyyy\").format('MM/DD/yyyy');\n Sunday = new Date(Sunday);\n expect(datetxt).within(Sunday, Saturday);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Last Month', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#table-scroll tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var dateMonth = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n dateMonth = parseInt(dateMonth); //var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy hh:mm').format('MM/DD/yyyy hh:mm');\n var Today = Cypress.moment().format('MM/DD/yyyy');\n var month = Cypress.moment(Today, 'MM/ddd/yyyy').format('MM');\n if (month == 1) {\n month = 12;\n } else {\n month = month - 1;\n }\n expect(dateMonth).equal(month);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Current Month', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#table-scroll tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var dateMonth = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n dateMonth = parseInt(dateMonth); //var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy hh:mm').format('MM/DD/yyyy hh:mm');\n var Today = Cypress.moment().format('MM/DD/yyyy');\n var month = Cypress.moment(Today, 'MM/ddd/yyyy').format('MM');\n month = parseInt(month);\n expect(dateMonth).equal(month);\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/29filter_by_CreatedAt.spec.js:108:8)","diff":null},"uuid":"5da543e4-5bbe-4b44-95a8-74f6718485b2","parentUUID":"621983cf-adc0-48c8-a8c3-2baadb5c7f24","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5da543e4-5bbe-4b44-95a8-74f6718485b2"],"pending":[],"skipped":[],"duration":23551,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1751b481-9146-4038-9a77-6f178ebe7620","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":"c66fd3c5-148e-48c2-815e-05dd60a80870","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":22075,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#created_by').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000); // cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Created By\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Created By\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[created_by]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get('#select2-created_by-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#select2-created_by-input-results').contains('SubscriptionFlow Admin').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('subscriptionflowadmin');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_by]\"]').select(\"isn't\", {\n force: true\n });\n cy.get('#select2-created_by-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#select2-created_by-input-results li').contains('SubscriptionFlow Admin').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('subscriptionflowadmin');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/30filter_by_CreatedBy.spec.js:108:8)","diff":null},"uuid":"6591819e-74e0-4249-ab86-e446a822e337","parentUUID":"c66fd3c5-148e-48c2-815e-05dd60a80870","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6591819e-74e0-4249-ab86-e446a822e337"],"pending":[],"skipped":[],"duration":22075,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ba79414f-2e62-475c-81e5-5bf9b5cc601b","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":"cf84c8e8-1250-46a7-8844-6906ebd2a884","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":32461,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#created_by').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#customer_number').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000); // cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar m = 0;\nvar n;\nvar oldcust = [];\ncy.get('#listViewTableEl thead th').each(function (elements) {\n if (elements.text() == \"Customer Number\") {\n n = \"[data-sfuniqueid = dataTable__table-td-\" + m + \"]\";\n cy.get(n).each(function (element) {\n //var normalizedelement = normalizeText(element.text())\n oldcust.push(element.text());\n });\n } else {\n m = m + 1;\n }\n});\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Created By\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Created By\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[created_by]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get('#select2-created_by-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#select2-created_by-input-results').contains('SubscriptionFlow Admin').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('subscriptionflowadmin');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.get('button').contains('Clear').click({\n force: true\n});\ncy.wait(10000);\nvar a = 0;\nvar b;\nvar newcust = [];\ncy.get('#listViewTableEl thead th').each(function (elements) {\n if (elements.text() == \"Customer Number\") {\n b = \"[data-sfuniqueid = dataTable__table-td-\" + a + \"]\";\n cy.get(b).each(function (element) {\n newcust.push(element.text());\n });\n } else {\n a = a + 1;\n }\n});\ncy.wrap(oldcust).should(\"deep.equal\", newcust);","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/31clear_filter.spec.js:108:8)","diff":null},"uuid":"afbcdf69-b770-4448-950e-32b3426e81eb","parentUUID":"cf84c8e8-1250-46a7-8844-6906ebd2a884","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["afbcdf69-b770-4448-950e-32b3426e81eb"],"pending":[],"skipped":[],"duration":32461,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"616e362c-9232-4846-ac99-a35c2268de59","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":"9abb34bb-0b80-4bfd-992e-7f5d73bf8cd3","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":14547,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.log('order-1: ', order1);\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.log('invoice-1: ', invoice1);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navItem-additional_modules\"]').contains('Orders').then(function ($myElement) {\n // svg-inline--fa fa-bars fa-w-14 mr-1\n // svg-inline--fa fa-bars fa-w-14 fa-2x\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa-2x').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(8000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navItem-additional_modules\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.justify-content-between > .d-flex > .btn-primary').should('be.visible');\n cy.get('#navbarDropdownQuickCreate').click({\n force: true\n });\n cy.get('.dropdown-menu.dropdown-menu-right.show').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore', {\n force: true\n });\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(8000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#termed_initial_period-input').clear({\n force: true\n }).type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#display-name-continue').click({\n force: true\n });\n cy.wait(7000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(8000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n });\n});\ncy.get('[href=\"#Subscription-subpanel\"]').contains(' Subscriptions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Subscription_Customer #relatedViewTableEl tr td a').eq(0).click({\n force: true\n});\ncy.get('.row div', {\n timeout: 7000\n}).contains('Termed').then(function (type) {\n expect(type.text()).equal('Termed');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/01-create_order.spec.js:107:88)","diff":null},"uuid":"b416ca63-82b7-48c5-8feb-54f42c1026c2","parentUUID":"9abb34bb-0b80-4bfd-992e-7f5d73bf8cd3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b416ca63-82b7-48c5-8feb-54f42c1026c2"],"pending":[],"skipped":[],"duration":14547,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"84199ab2-92e6-4f23-a4cb-c8b98a4c51bf","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":"961705e0-83ca-4648-8bf7-01f1f13a708e","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":18596,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.log('order-1: ', order1);\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.log('invoice-1: ', invoice1);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navItem-additional_modules\"]').contains('Orders').then(function ($myElement) {\n // svg-inline--fa fa-bars fa-w-14 mr-1\n // svg-inline--fa fa-bars fa-w-14 fa-2x\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa-2x').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(8000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navItem-additional_modules\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.justify-content-between > .d-flex > .btn-primary').should('be.visible');\n cy.get('#navbarDropdownQuickCreate').click({\n force: true\n });\n cy.get('.dropdown-menu.dropdown-menu-right.show').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore', {\n force: true\n });\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(8000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#type-evergreen').click({\n force: true\n }).should('be.checked');\n cy.wait(5000);\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#display-name-continue').click({\n force: true\n });\n cy.wait(7000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(8000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n });\n});\ncy.get('[href=\"#Subscription-subpanel\"]').contains(' Subscriptions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Subscription_Customer #relatedViewTableEl tr td a').eq(0).click({\n force: true\n});\ncy.get('.row div').contains('Evergreen').then(function (type) {\n expect(type.text()).equal('Evergreen');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/02-create-evergreen-order.spec.js:107:88)","diff":null},"uuid":"eeabf619-0056-4962-bdbf-9708c8241e89","parentUUID":"961705e0-83ca-4648-8bf7-01f1f13a708e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["eeabf619-0056-4962-bdbf-9708c8241e89"],"pending":[],"skipped":[],"duration":18596,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c3c64934-b4b2-48ad-ac3b-49ed1b37b668","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":"a0291904-d683-42c6-8149-a7276c523b4e","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":18621,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('#lv_filter_hide').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.related-list > .nav-link').trigger('mouseover', {\n force: true\n});\ncy.get('.related-list > .nav-link .show-cog .fa-cog').click({\n force: true\n});\ncy.get('#relatedModule_rightSelected').click({\n force: true\n});\ncy.get('#related_module_list > .modal-footer > .btn-create').click({\n force: true\n});\ncy.wait(5000);\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(8000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(8000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('label[for=\"enable-trial\"]').click({\n force: true\n });\n cy.get('.row.trial-toggle h6').should('be.visible');\n cy.get('#trial_period-input').type('3', {\n force: true\n });\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(8000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n});\ncy.get('[href=\"#Subscription-subpanel\"]').contains(' Subscriptions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Subscription_Customer tbody a span').eq(0).click({\n force: true\n});\ncy.get('.badge').eq(2).then(function (type) {\n expect(type.text()).equal('Trial');\n expect(type).to.have[\"class\"]('badge-status-trial');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/03-create-trial-order.spec.js:107:88)","diff":null},"uuid":"e6f52d35-b10d-4ef6-b0af-ba3655cf94a4","parentUUID":"a0291904-d683-42c6-8149-a7276c523b4e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e6f52d35-b10d-4ef6-b0af-ba3655cf94a4"],"pending":[],"skipped":[],"duration":18621,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e1f66688-7e84-40db-8945-068c3030e9a3","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":"6bf14bac-8e56-4c8a-a069-c6486af740fa","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":14629,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(8000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(8000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('label[for=\"is-gift\"]').click({\n force: true\n });\n cy.get('.row.gift-toggle h6').should('be.visible');\n cy.get('#select2-recipient_id-input-container').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.select2-results__option').click({\n force: true\n });\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Digital Magazine').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').first().click({\n force: true\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(8000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n});\ncy.get('[href=\"#Subscription-subpanel\"]').contains(' Subscriptions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Subscription_Customer tbody a span').eq(0).click({\n force: true\n});\ncy.get('.card-header').contains('Gift').then(function (type) {\n expect(type.text()).contains('Gift Detail');\n});\ncy.get('.detail-text').contains('Andy Barymore').should('be.visible');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/04-giftsubs.spec.js:107:88)","diff":null},"uuid":"bd8bc9d8-3d28-4e4b-9314-53bfcbcbc6f8","parentUUID":"6bf14bac-8e56-4c8a-a069-c6486af740fa","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bd8bc9d8-3d28-4e4b-9314-53bfcbcbc6f8"],"pending":[],"skipped":[],"duration":14629,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dc72c314-9d77-42a1-ba68-20783bc06dbc","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":"e714fa8f-6208-43ab-8c8b-f4d8a458c310","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":15659,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.wait(5000);\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n });\n cy.get('.btn-dark').click({\n force: true\n });\n cy.wait(15000);\n cy.get('tbody tr td').then(function (element) {\n if (element.text().includes(\"Draft\")) {\n cy.get('.btn.btn-warning').contains('Select').click({\n force: true\n });\n cy.wait(12000);\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('[wt-paste=\"product-row\"] > :nth-child(1) > :nth-child(3)').trigger('mouseover', {\n force: true\n });\n cy.get('.svg-inline--fa.fa-times-circle.fa-w-16.fs-1.text-warning').eq(0).click({\n force: true\n });\n cy.get('.col-md-3 > .btn').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.text-900 > tr > :nth-child(1)').should('contain', 'Product');\n cy.get('.text-900 > tr > :nth-child(2)').should('contain', 'Plan');\n cy.get('.text-900 > tr > :nth-child(3)').should('contain', 'Coupon');\n cy.wait(5000);\n cy.get(':nth-child(2) > .input-group > .select2 > .selection > .select2-selection > .select2-selection__arrow').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Digital Magazine').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(10000);\n cy.get('.select2-results__options li').first().click({\n force: true\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.url().should('include', '/customer-detail');\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n }, {\n multiple: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Subscription-subpanel\"]').contains(' Subscriptions ').click({\n force: true\n });\n cy.get('#related-table-subscription [data-sfuniqueid=\"dataTable__table-td-1\"] a').eq(0).click({\n force: true\n });\n cy.wait(5000);\n cy.get(':nth-child(1) > .card-body > .display-4').contains('Active').then(function (type) {\n expect(type.text()).equal('Active ');\n });\n }\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/05-modify-existing-subs.spec.js:107:88)","diff":null},"uuid":"f5159425-8689-4054-aeba-8c0925f4a04d","parentUUID":"e714fa8f-6208-43ab-8c8b-f4d8a458c310","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f5159425-8689-4054-aeba-8c0925f4a04d"],"pending":[],"skipped":[],"duration":15659,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"87bb3060-2032-4f5d-891f-cacd0a8e42ab","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":"c9b2f8d6-8d1a-4b3e-a83a-d243cfc4e4be","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":19948,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n // cy.get('.nav-link').contains('More').click({force:true})\n // cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(($myElement)=>{\n // if(($myElement.is(\":hidden\"))){\n // cy.wait(8000)\n // cy.get('.fa.fa-bars').click({force:true}).then(()=>{\n // cy.get('#multiselect_rightAll').click({force:true}).then(()=>{\n // cy.get('#nav-configuration').click({force:true})\n // })\n // }) \n // }\n // })\n cy.get('#navbarDropdownQuickCreate > .svg-inline--fa').click({\n force: true\n }); // cy.get('.nav-link').contains('More').click({force:true})\n cy.get('[href=\"https://awais.subscriptionflow.com/en/orders/create\"]').click({\n force: true\n });\n cy.wait(8000);\n cy.url().should('include', '/orders');\n cy.get('.select2-selection__arrow').click({\n force: true\n });\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(5000);\n cy.get('#select2-customer_id-input-results li').first().click({\n force: true\n });\n cy.wait(5000);\n cy.get('.form-group > .btn-primary').should('be.visible').click({\n force: true\n }); // cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({force:true})\n // cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({force:true})\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(8000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n cy.get('.sub-total').then(function (Price1) {\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(8000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n });\n cy.get('.btn-dark').click({\n force: true\n });\n cy.wait(40000);\n cy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n });\n cy.wait(8000);\n cy.get('input[type=\"number\"].quantity-input.calculate-amount').clear().type('3', {\n force: true\n });\n cy.get('.sub-total').then(function (Price2) {\n var newPrice = Price1.text().replace(/[$€,]+/g, \"\");\n newPrice = parseFloat(newPrice);\n newPrice = newPrice * 3;\n var newPrice2 = Price2.text().replace(/[$€,]+/g, \"\");\n newPrice2 = parseFloat(newPrice2);\n expect(newPrice).to.eq(parseInt(newPrice2));\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n });\n });\n cy.wait(18000);\n cy.reload();\n cy.reload();\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/06-increase-quantity.spec.js:110:88)","diff":null},"uuid":"8e254170-f29d-457d-99b7-4405e09fdc8e","parentUUID":"c9b2f8d6-8d1a-4b3e-a83a-d243cfc4e4be","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8e254170-f29d-457d-99b7-4405e09fdc8e"],"pending":[],"skipped":[],"duration":19948,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7eb35d36-3f66-490c-ac55-6c8b71927068","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":"1b546af6-6ae2-43f1-8e1b-c622667c1475","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":14465,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(8000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n cy.get('input[type=\"text\"].quantity-input.calculate-amount').clear().type('3', {\n force: true\n });\n cy.get('.sub-total').then(function (Price1) {\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).not.to.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n });\n cy.get('.btn-dark').click({\n force: true\n });\n cy.wait(40000);\n cy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n });\n cy.wait(8000);\n cy.get('input[type=\"number\"].quantity-input.calculate-amount').clear().type('1', {\n force: true\n });\n cy.get('.sub-total').then(function (Price2) {\n var newPrice = Price1.text().replace(/[$€,]+/g, \"\");\n newPrice = parseFloat(newPrice);\n var pr1 = newPrice;\n newPrice = newPrice / 3;\n var newPrice2 = Price2.text().replace(/[$€,]+/g, \"\");\n newPrice2 = parseFloat(newPrice2);\n expect(newPrice).to.eq(parseInt(newPrice2));\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(18000);\n cy.reload();\n cy.reload();\n cy.get('[href=\"#CreditNote-subpanel\"]').contains(' Credits ').click({\n force: true\n });\n var k = 0;\n var j;\n cy.get('#relatedList-bulk-action-CreditNote_Customer thead th').each(function (element) {\n if (element.text().includes(\"Amount\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.get('#relatedList-bulk-action-CreditNote_Customer tbody td').eq(k).then(function (credit) {\n var cred = credit.text().replace(/[$€,]+/g, \"\");\n cred = parseFloat(cred);\n expect(cred).to.eq(pr1 - newPrice2);\n });\n } else {\n k = k + 1;\n }\n });\n });\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/07-decrease-quantity.spec.js:110:88)","diff":null},"uuid":"f29eb5d1-ab32-4204-9d49-18f67e625fda","parentUUID":"1b546af6-6ae2-43f1-8e1b-c622667c1475","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f29eb5d1-ab32-4204-9d49-18f67e625fda"],"pending":[],"skipped":[],"duration":14465,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5ddc5a2d-2105-4084-ad5d-2f448f890ca3","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":"fb8902d2-cd57-456b-9c24-4667266ef8e2","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":15336,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n cy.get('.sub-total').then(function (Price1) {\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n });\n cy.get('.btn-dark').click({\n force: true\n });\n cy.wait(40000);\n cy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n });\n cy.wait(8000);\n cy.get('input.price-input').clear().type('40', {\n force: true\n });\n cy.get('.sub-total').then(function (Price2) {\n var newPrice = Price1.text().replace(/[$€,]+/g, \"\");\n newPrice = parseFloat(newPrice);\n var newPrice2 = Price2.text().replace(/[$€,]+/g, \"\");\n newPrice2 = parseFloat(newPrice2);\n expect(newPrice).to.not.eq(parseInt(newPrice2));\n expect(newPrice2).to.eq(40);\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n });\n });\n cy.wait(18000);\n cy.reload();\n cy.reload();\n cy.wait(8000);\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/08-increase-price.spec.js:110:88)","diff":null},"uuid":"2b7673f0-0cbd-46f4-bf82-d5efb9d6dcd5","parentUUID":"fb8902d2-cd57-456b-9c24-4667266ef8e2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2b7673f0-0cbd-46f4-bf82-d5efb9d6dcd5"],"pending":[],"skipped":[],"duration":15336,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cbb12d08-6f9b-411b-b35b-5e25f72af586","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":"7b26a55c-c1a6-456c-b201-fb05bb689a86","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":23385,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n cy.get('.sub-total').then(function (Price1) {\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).not.to.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n });\n cy.get('.btn-dark').click({\n force: true\n });\n cy.wait(30000);\n cy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n });\n cy.wait(7000);\n cy.get('input.price-input').clear().type('10', {\n force: true\n });\n cy.get('.sub-total').then(function (Price2) {\n var newPrice = Price1.text().replace(/[$€,]+/g, \"\");\n newPrice = parseFloat(newPrice);\n var newPrice2 = Price2.text().replace(/[$€,]+/g, \"\");\n newPrice2 = parseFloat(newPrice2);\n expect(newPrice).to.not.eq(parseInt(newPrice2));\n expect(newPrice2).to.eq(10);\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(18000);\n cy.reload();\n cy.reload();\n cy.get('[href=\"#CreditNote-subpanel\"]').contains(' Credits ').click({\n force: true\n });\n var k = 0;\n cy.get('#relatedList-bulk-action-CreditNote_Customer thead th').each(function (element) {\n if (element.text().includes(\"Amount\")) {\n cy.get('#relatedList-bulk-action-CreditNote_Customer tbody td').eq(k).then(function (credit) {\n var cred = credit.text().replace(/[$€,]+/g, \"\");\n cred = parseFloat(cred);\n expect(cred).to.eq(newPrice - newPrice2);\n });\n } else {\n k = k + 1;\n }\n });\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/09-decrease-price.spec.js:110:88)","diff":null},"uuid":"26fc9203-cde6-4fe0-8f39-229bd7a9a045","parentUUID":"7b26a55c-c1a6-456c-b201-fb05bb689a86","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["26fc9203-cde6-4fe0-8f39-229bd7a9a045"],"pending":[],"skipped":[],"duration":23385,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d76e8425-4e2d-4f82-bbe3-0c7487081645","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":"ff0cf7b3-c17d-4a9c-81a9-93e0a789a21d","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":14537,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').first().click({\n force: true\n });\n var tot1 = 0;\n var tot2 = 0;\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total) {\n var Price1 = total.text().replace(/[$€,]+/g, \"\");\n cy.log(\"Price1:\" + Price1);\n Price1 = parseFloat(Price1);\n tot1 = tot1 + Price1;\n cy.log(\"tot1:\" + tot1);\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n });\n cy.get('.btn-dark').click({\n force: true\n });\n cy.wait(50000);\n cy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n });\n cy.wait(8000);\n cy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n });\n cy.get('[wt-more=\"product-row\"]').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(3).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').first().click({\n force: true\n }); // cy.get('.select2-results__options li').contains('tiered').click({force:true})\n cy.get('input.quantity-input').type('1', {\n force: true\n });\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total2) {\n var Price2 = total2.text().replace(/[$€,]+/g, \"\");\n Price2 = parseFloat(Price2);\n tot2 = tot2 + Price2;\n cy.log(\"Price2:\" + Price2);\n cy.log(\"tot2:\" + tot2);\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.log(\"tot1:\" + tot1);\n expect(tot2).to.not.eq(tot1);\n });\n cy.wait(18000);\n cy.reload();\n cy.reload();\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.reload().then(function () {\n if (tot2 < tot1) {\n cy.get('[href=\"#CreditNote-subpanel\"]').contains(' Credits ').click({\n force: true\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-CreditNote_Customer thead th').each(function (element) {\n if (element.text().includes(\"Amount\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-CreditNote_Customer > #example1 > tbody > :nth-child(1) > ' + i).then(function (credit) {\n var cred = credit.text().replace(/[$€,]+/g, \"\");\n cred = parseFloat(cred);\n expect(cred).to.eq(tot1);\n });\n });\n }\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n var k = -1;\n var i;\n var j;\n cy.get('#relatedList-bulk-action-Invoice_Customer thead th').each(function (element) {\n if (element.text().includes(\"Opening Balance\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else if (element.text().includes(\"Closing Balance\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(j);\n }\n k++;\n }).then(function () {\n cy.log(\"opening\" + \"#relatedList-bulk-action-Invoice_Customer table tbody \" + i);\n cy.log(\"closing\" + \"#relatedList-bulk-action-Invoice_Customer table tbody \" + j);\n cy.get('#relatedList-bulk-action-Invoice_Customer ' + i).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get('#relatedList-bulk-action-Invoice_Customer ' + j).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n cy.log('tot1' + tot1);\n cy.log('tot2' + tot2);\n var ClosingBalance1 = OpeningBalance + tot2;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n });\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/10-change-plan-downgrade.spec.js:110:88)","diff":null},"uuid":"737ab571-2640-4dde-bc4d-c1e84f2418e6","parentUUID":"ff0cf7b3-c17d-4a9c-81a9-93e0a789a21d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["737ab571-2640-4dde-bc4d-c1e84f2418e6"],"pending":[],"skipped":[],"duration":14537,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bf2dc614-3243-404b-a97c-472c673d6f28","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":"df8cd596-3288-4335-ae47-6a8a6dacbca4","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":15881,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('.nav-wrapper').its('length').then(function (len) {\n if (len > 1) {\n cy.log(\"length here\" + len);\n } else {\n cy.get('.related-list').trigger('mouseover');\n cy.get('.ml-auto.show-cog.test-pull-right.cursor_p .fa-cog').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#relatedModule_rightAll').click({\n force: true\n });\n cy.get('#related_module_list > .modal-footer > .btn-create').click({\n force: true\n });\n cy.wait(10000);\n }\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').first().click({\n force: true\n });\n var tot1 = 0;\n var tot2 = 0;\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total) {\n var Price1 = total.text().replace(/[$€,]+/g, \"\");\n cy.log(\"Price1:\" + Price1);\n Price1 = parseFloat(Price1);\n tot1 = tot1 + Price1;\n cy.log(\"tot1:\" + tot1);\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n });\n cy.get('.btn-dark').click({\n force: true\n });\n cy.wait(60000);\n cy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n });\n cy.wait(8000);\n cy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n });\n cy.get('[wt-more=\"product-row\"]').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(3).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').first().click({\n force: true\n }); // cy.get('.select2-results__options li').contains('tiered').click({force:true})\n cy.get('input.quantity-input').type('1', {\n force: true\n });\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total2) {\n var Price2 = total2.text().replace(/[$€,]+/g, \"\");\n Price2 = parseFloat(Price2);\n tot2 = tot2 + Price2;\n cy.log(\"Price2:\" + Price2);\n cy.log(\"tot2:\" + tot2);\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.log(\"tot1:\" + tot1);\n expect(tot2).to.not.eq(tot1);\n });\n cy.wait(18000);\n cy.reload();\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.reload().then(function () {\n if (tot2 < tot1) {\n cy.get('[href=\"#CreditNote-subpanel\"]').contains(' Credits ').click({\n force: true\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-CreditNote_Customer thead th').each(function (element) {\n if (element.text().includes(\"Amount\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-CreditNote_Customer > #example1 > tbody > :nth-child(1) > ' + i).then(function (credit) {\n var cred = credit.text().replace(/[$€,]+/g, \"\");\n cred = parseFloat(cred);\n expect(cred).to.eq(tot1);\n });\n });\n }\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n var k = -1;\n var i;\n var j;\n cy.get('#relatedList-bulk-action-Invoice_Customer thead th').each(function (element) {\n if (element.text().includes(\"Opening Balance\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else if (element.text().includes(\"Closing Balance\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(j);\n }\n k++;\n }).then(function () {\n cy.log(\"opening\" + \"#relatedList-bulk-action-Invoice_Customer table tbody \" + i);\n cy.log(\"closing\" + \"#relatedList-bulk-action-Invoice_Customer table tbody \" + j);\n cy.get('#relatedList-bulk-action-Invoice_Customer ' + i).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get('#relatedList-bulk-action-Invoice_Customer ' + j).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n cy.log('tot1' + tot1);\n cy.log('tot2' + tot2);\n var ClosingBalance1 = OpeningBalance + tot2 - tot1;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n });\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/11-change-plan-upgrade.spec.js:110:88)","diff":null},"uuid":"ceb082b6-3638-4594-9258-3b5e0d66841c","parentUUID":"df8cd596-3288-4335-ae47-6a8a6dacbca4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ceb082b6-3638-4594-9258-3b5e0d66841c"],"pending":[],"skipped":[],"duration":15881,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a67cc63c-03ab-4b2c-8f69-9e9e24cbd58c","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":"52a826f7-f89e-4d4c-85aa-8a4c11d01e7b","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":21043,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n var tot1 = 0;\n var tot2 = 0;\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total) {\n cy.log(\"Text here \" + total.text());\n var Price1 = total.text().replace(/[$€,]+/g, \"\");\n Price1 = parseFloat(Price1);\n tot1 = tot1 + Price1;\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n });\n cy.get('.btn-dark').click({\n force: true\n });\n cy.wait(45000);\n cy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n });\n cy.wait(8000);\n cy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n });\n cy.get('[wt-more=\"product-row\"]').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(3).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n });\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total2) {\n var Price2 = total2.text().replace(/[$€,]+/g, \"\");\n Price2 = parseFloat(Price2);\n tot2 = tot2 + Price2;\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n }).then(function () {\n cy.wait(10000);\n expect(tot2).to.not.eq(tot1);\n });\n cy.wait(12000);\n cy.reload().then(function () {\n if (tot2 < tot1) {\n cy.get('[href=\"#CreditNote-subpanel\"]').contains(' Credits ').click({\n force: true\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-CreditNote_Customer thead th').each(function (element) {\n if (element.text().includes(\"Amount\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-CreditNote_Customer > #example1 > tbody > :nth-child(1) > ' + i).then(function (credit) {\n var cred = credit.text().replace(/[$€,]+/g, \"\");\n cred = parseFloat(cred);\n expect(cred).to.eq(tot1);\n });\n });\n }\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(7).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(8).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + tot2 - tot1;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/12-change-product-upgrade.spec.js:110:88)","diff":null},"uuid":"46ca3700-b22d-428d-8090-9607c5b57e7b","parentUUID":"52a826f7-f89e-4d4c-85aa-8a4c11d01e7b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["46ca3700-b22d-428d-8090-9607c5b57e7b"],"pending":[],"skipped":[],"duration":21043,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5f898233-c507-4634-89ab-7c1bc2c9e224","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":"ad416635-86d2-4582-b12b-6e195b15de43","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":15049,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').first().click({\n force: true\n });\n var tot1 = 0;\n var tot2 = 0;\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total) {\n cy.log(\"Text here \" + total.text());\n var Price1 = total.text().replace(/[$€,]+/g, \"\");\n Price1 = parseFloat(Price1);\n tot1 = tot1 + Price1;\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n });\n cy.get('.btn-dark').click({\n force: true\n });\n cy.wait(45000);\n cy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n });\n cy.wait(8000);\n cy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n });\n cy.get('[wt-more=\"product-row\"]').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(3).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').first().click({\n force: true\n });\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total2) {\n var Price2 = total2.text().replace(/[$€,]+/g, \"\");\n Price2 = parseFloat(Price2);\n tot2 = tot2 + Price2;\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n }).then(function () {\n cy.wait(10000);\n expect(tot2).to.not.eq(tot1);\n });\n cy.wait(12000);\n cy.reload().then(function () {\n if (tot2 < tot1) {\n cy.get('[href=\"#CreditNote-subpanel\"]').contains(' Credits ').click({\n force: true\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-CreditNote_Customer thead th').each(function (element) {\n if (element.text().includes(\"Amount\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-CreditNote_Customer > #example1 > tbody > :nth-child(1) > ' + i).then(function (credit) {\n var cred = credit.text().replace(/[$€,]+/g, \"\");\n cred = parseFloat(cred);\n expect(cred).to.eq(tot1);\n });\n });\n }\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(7).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(8).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + tot2;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/13-change-product-downgrade.spec.js:110:88)","diff":null},"uuid":"763dafaa-7253-428e-91f3-16946befdbcd","parentUUID":"ad416635-86d2-4582-b12b-6e195b15de43","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["763dafaa-7253-428e-91f3-16946befdbcd"],"pending":[],"skipped":[],"duration":15049,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"112092ce-ee6f-43b1-9ff5-6fba2f9c3fae","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":"be50e7d8-47bc-43af-a938-bdbe49ca7ecc","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":15727,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n var tot1 = 0;\n var tot2 = 0;\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total) {\n var Price1 = total.text().replace(/[$€,]+/g, \"\");\n Price1 = parseFloat(Price1);\n tot1 = tot1 + Price1;\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n });\n cy.get('.btn-dark').click({\n force: true\n });\n cy.wait(45000);\n cy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n });\n cy.wait(8000);\n cy.get('[wt-more=\"product-row\"]').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(3).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total2) {\n var Price2 = total2.text().replace(/[$€,]+/g, \"\");\n Price2 = parseFloat(Price2);\n tot2 = tot2 + Price2;\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n }).then(function () {\n cy.wait(10000);\n expect(tot2).to.be.greaterThan(tot1);\n });\n cy.wait(18000);\n cy.reload();\n cy.reload();\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(7).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(8).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (tot2 - tot1);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Currencies' within the element: <a.text-white> but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/14-add-line-item.spec.js:110:88)","diff":null},"uuid":"1f1a236b-23cc-473b-bdb9-ffff1556a015","parentUUID":"be50e7d8-47bc-43af-a938-bdbe49ca7ecc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1f1a236b-23cc-473b-bdb9-ffff1556a015"],"pending":[],"skipped":[],"duration":15727,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"272994da-21b6-403a-b042-bc374f284a50","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":"8ef1bab8-941a-4385-970b-36b83620bbfb","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":29347,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n ////////////\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .link-primary').click({\n force: true\n });\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer').then(function (rows) {\n ///////////\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(8000);\n });\n }\n });\n cy.visit(myUrl);\n});\ncy.get('.border-bottom .text-right > .btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-menu.show a').contains('Process Payment').click({\n force: true\n}); // //////////////////\ncy.wait(10000);\ncy.get('#cash_or_card-input').select('Card', {\n force: true\n});\ncy.get('#payment-method-link').click({\n force: true\n}); //////////\ncy.wait(8000);\ncy.get('#payment-gateway-input').select('Authorize.Net', {\n force: true\n});\nvar rand = userID_Alpha_Numeric();\ncy.get('#first_name-input').clear().type('FName' + rand);\ncy.get('#last_name-input').clear().type('LName');\ncy.get('#email-input').clear().type('FName' + rand + '@mail.com');\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-search__field').type('New York');\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('#card_number-input').type('4111111111111111');\ncy.get('#expiry_month-input').select('08').should('have.value', '08');\ncy.get('#expiry_year-input').select('2021').should('have.value', '2021');\ncy.get('#card_cvv-input').type('765');\ncy.get('#save_button_dis').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#payment_method_id-input option').each(function (option) {\n if (option.text().includes('Default')) {\n expect(option.text()).to.include('1111');\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Add%20Payment%20Method%20using%20Make%20Payment/01Add_payment_method_using_Make_Payment_for_credit_card_using_Authorize.net.spec.js:107:8)","diff":null},"uuid":"d7bfc2eb-d043-49b0-8ceb-216625b681a7","parentUUID":"8ef1bab8-941a-4385-970b-36b83620bbfb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d7bfc2eb-d043-49b0-8ceb-216625b681a7"],"pending":[],"skipped":[],"duration":29347,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e20197a5-d3ad-488d-be52-f507337caff3","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":"82e3e8ed-a47f-42c3-95f2-fa480bd91689","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":22007,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .link-primary').click({\n force: true\n });\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(8000);\n });\n }\n });\n cy.visit(myUrl);\n});\ncy.get('.border-bottom .text-right > .btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-menu.show a').contains('Process Payment').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#cash_or_card-input').select('eCheck', {\n force: true\n});\ncy.get('#payment-method-link').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#payment-gateway-input').select('Authorize.Net', {\n force: true\n});\ncy.get('#first_name-input').clear().type('FName', {\n force: true\n});\ncy.get('#last_name-input').clear().type('LName', {\n force: true\n});\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-search__field').type('United States', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-search__field').type('New York', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('input[name=\"billing_postalcode\"]').clear({\n force: true\n}).type('1111', {\n force: true\n});\ncy.get('input[name=\"billing_address1\"]').clear({\n force: true\n}).type('1111', {\n force: true\n});\ncy.get('input[name=\"billing_address2\"]').clear({\n force: true\n}).type('1111', {\n force: true\n});\ncy.get('#payment_option-ACH').click({\n force: true\n});\ncy.get('#routing_number-input').type('021000021', {\n force: true\n});\ncy.get('#account_number-input').type('111111114', {\n force: true\n});\ncy.wait(8000);\ncy.get('#save_button_dis').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#payment_method_id-input option').each(function (option) {\n if (option.text().includes('Default')) {\n expect(option.text()).to.include('1114');\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Add%20Payment%20Method%20using%20Make%20Payment/02Add_payment_method_using_Make_Payment_for_ACH_using_Authorize.net.spec.js:107:8)","diff":null},"uuid":"43fb9e3e-844f-44cf-9c78-d6b89b49b0fa","parentUUID":"82e3e8ed-a47f-42c3-95f2-fa480bd91689","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["43fb9e3e-844f-44cf-9c78-d6b89b49b0fa"],"pending":[],"skipped":[],"duration":22007,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"10ed7755-e485-412d-9564-c1e89b5478ac","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":"1c5363b5-1d0e-4e3c-96df-fcd61aec6075","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":24247,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .link-primary').click({\n force: true\n });\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(8000);\n });\n }\n });\n cy.visit(myUrl);\n});\ncy.get('.border-bottom .text-right > .btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-menu.show a').contains('Process Payment').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#cash_or_card-input').select('Card', {\n force: true\n});\ncy.get('#payment-method-link').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#payment-gateway-input').select('Stripe', {\n force: true\n});\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-search__field').type('New York');\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).click({\n force: true\n }).clear().type('4242424242424242');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(1).click({\n force: true\n }).clear().type('425');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(2).click({\n force: true\n }).clear().type('424');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(3).click({\n force: true\n }).clear().type('77777');\n});\ncy.wait(8000);\ncy.get('#save_button_dis').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#payment_method_id-input option').each(function (option) {\n if (option.text().includes('Default')) {\n expect(option.text()).to.include('4242');\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Add%20Payment%20Method%20using%20Make%20Payment/04Add_payment_method_using_Make_Payment_for_credit_card_using_Stripe.spec.js:107:8)","diff":null},"uuid":"fbd32e18-32d2-47cd-b49b-ff37e9a56290","parentUUID":"1c5363b5-1d0e-4e3c-96df-fcd61aec6075","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fbd32e18-32d2-47cd-b49b-ff37e9a56290"],"pending":[],"skipped":[],"duration":24247,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e967bdda-b9cd-49f7-87dc-f97a2e48caf9","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":"16406290-cd0d-4372-86f4-bc3a96f109c4","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":22559,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .link-primary').click({\n force: true\n });\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(20000);\n }\n });\n cy.url().then(function (custUrl) {\n cy.visit(myUrl);\n cy.get('.border-bottom .text-right > .btn-group > .btn').click({\n force: true\n });\n cy.get('.dropdown-menu.show a').contains('Process Payment').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#cash_or_card-input').select('eCheck', {\n force: true\n });\n cy.get('#payment-method-link').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#payment-gateway-input').select('Stripe', {\n force: true\n });\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(7000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(7000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(7000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(15000);\n cy.get('.select2-search__field').type('Adams');\n cy.wait(7000);\n cy.get('#select2-billing_city-input-results li').contains('Adams').click({\n force: true\n });\n cy.get('input[name=\"billing_postalcode\"]').clear({\n force: true\n }).type('1111', {\n force: true\n });\n cy.get('input[name=\"billing_address1\"]').clear({\n force: true\n }).type('1111', {\n force: true\n });\n cy.get('input[name=\"billing_address2\"]').clear({\n force: true\n }).type('1111', {\n force: true\n });\n cy.get('#payment_option-ACH').click({\n force: true\n });\n cy.get('#routing_number-input').type('110000000');\n cy.get('#account_number-input').type('000123456789');\n cy.wait(8000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.visit(custUrl);\n });\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n }); // cy.get('#relatedList-bulk-action-PaymentMethod_Customer a.btn').contains('Verify').click({ force: true })\n cy.wait(8000);\n cy.get('#amount1-input').type('32');\n cy.get('#amount2-input').type('45');\n cy.get('#verify_button').click({\n force: true\n });\n cy.wait(8000);\n cy.visit(myUrl);\n});\ncy.get('.border-bottom .text-right > .btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-menu.show a').contains('Process Payment').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#cash_or_card-input').select('eCheck');\nvar flag = false;\ncy.get('#payment_method_id-input option').then(function (options) {\n cy.get(options).each(function (option) {\n if (!option.attr('style') && option.text() != 'Select A Method') {\n var option_text = option.text().trim();\n cy.get('#payment_method_id-input').select(option_text);\n flag = true;\n return false;\n }\n }).then(function () {\n if (!flag) {\n addPayMethod();\n cy.get('#payment_method_id-input option').contains('Default').then(function (option) {\n var option_text = option.text().trim();\n cy.get('#payment_method_id-input').select(option_text);\n });\n }\n });\n});\ncy.get('#reference').type('abc123', {\n force: true\n});\ncy.get('#description').type('This is a description', {\n force: true\n});\ncy.get('#sale_form > .modal-footer > #invoice_paid_button').click({\n force: true\n});\ncy.wait(10000); // cy.get('#payment_method_id-input option').each(option=>{\n// if((option.text()).includes('Default')){\n// expect(option.text()).to.include('2227')\n// }\n// })","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Add%20Payment%20Method%20using%20Make%20Payment/05Add_payment_method_using_Make_Payment_for_ACH_using_Stripe.spec.js:107:8)","diff":null},"uuid":"3da7ed88-9938-4050-b200-8ab7db0e55d1","parentUUID":"16406290-cd0d-4372-86f4-bc3a96f109c4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3da7ed88-9938-4050-b200-8ab7db0e55d1"],"pending":[],"skipped":[],"duration":22559,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9c3090d5-4946-4702-9128-789dc32eb5d0","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":"93a42282-e59a-4a04-8310-3f1cc809c69f","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":22178,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .link-primary').click({\n force: true\n });\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(8000);\n });\n }\n });\n cy.url().then(function (custUrl) {\n cy.visit(myUrl);\n cy.get('.border-bottom .text-right > .btn-group > .btn').click({\n force: true\n });\n cy.get('.dropdown-menu.show a').contains('Process Payment').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#cash_or_card-input').select('eCheck', {\n force: true\n });\n cy.get('#payment-method-link').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#payment-gateway-input').select('GoCardless', {\n force: true\n });\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(7000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(7000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(7000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(7000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(7000);\n cy.get('.select2-search__field').type('Adams');\n cy.wait(7000);\n cy.get('#select2-billing_city-input-results li').contains('Adams').click({\n force: true\n });\n cy.get('input[name=\"billing_postalcode\"]').clear({\n force: true\n }).type('1111', {\n force: true\n });\n cy.get('input[name=\"billing_address1\"]').clear({\n force: true\n }).type('1111', {\n force: true\n });\n cy.get('input[name=\"billing_address2\"]').clear({\n force: true\n }).type('1111', {\n force: true\n });\n cy.get('#payment_option-ACH').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(7000);\n cy.visit(custUrl);\n });\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer table tr td').contains('GoCardless').should('exist');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Add%20Payment%20Method%20using%20Make%20Payment/06Add_Payment_Method_using_Make_Payment_for_ACH_using_GoCardless.spec.js:107:8)","diff":null},"uuid":"ccd92520-cf95-404c-9c90-8db07983fac0","parentUUID":"93a42282-e59a-4a04-8310-3f1cc809c69f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ccd92520-cf95-404c-9c90-8db07983fac0"],"pending":[],"skipped":[],"duration":22178,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ff425ad0-d67c-453d-a8b4-1632d3dc4dca","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":"51929dbf-9e62-4705-89a6-3d1bafdd5929","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Cash","fullTitle":"Make Payment Make payment through Cash","timedOut":null,"duration":23538,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.wait(10000);\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Transaction_Invoice').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1); //////////////////////////////\n //////////////////////////////\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n tran2 = tran2.slice(-10, -7);\n var transaction2 = tran2.trim();\n var count = parseInt(transaction1) + 1;\n expect(count).to.eq(parseInt(transaction2));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount').then(function (str1) {\n var tran3 = str1.text();\n cy.log(\"whole str: \", tran3);\n tran3 = tran3.slice(-10, -7);\n cy.log(\"number\", tran3);\n var transaction3 = tran3.trim();\n cy.log(\"transaction 1: \", transaction3);\n var count = 1;\n expect(count).to.eq(parseFloat(transaction3));\n }); /////////////////////////////////////////////////////\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/01Make_Payment_Cash.spec.js:104:8)","diff":null},"uuid":"8b912589-f956-4463-9460-4a5c17b447c7","parentUUID":"51929dbf-9e62-4705-89a6-3d1bafdd5929","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8b912589-f956-4463-9460-4a5c17b447c7"],"pending":[],"skipped":[],"duration":23538,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4bc2c62f-cdd2-4b3f-98b3-c19aa2af6f69","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":"a52d484c-03af-42ae-87ee-2e2b45a4ac1e","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment writeoff","fullTitle":"Make Payment Make payment writeoff","timedOut":null,"duration":22251,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1);\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n cy.log(\"whole str: \", tran2);\n tran2 = tran2.slice(-10, -7);\n cy.log(\"number\", tran2);\n var transaction2 = tran2.trim();\n cy.log(\"transaction 1: \", transaction2); //////////////////////////////\n //////////////////////////////\n var count = parseFloat(transaction1) + 1;\n expect(count).to.eq(parseFloat(transaction2));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran3 = str1.text();\n cy.log(\"whole str: \", tran3);\n tran3 = tran3.slice(-10, -7);\n cy.log(\"number\", tran3);\n var transaction3 = tran3.trim();\n cy.log(\"transaction 1: \", transaction3);\n var count = 1;\n expect(count).to.eq(parseFloat(transaction3));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/02Make_Payment_Writeoff.spec.js:104:8)","diff":null},"uuid":"c5443361-2c89-46b2-ae01-71fdc8461142","parentUUID":"a52d484c-03af-42ae-87ee-2e2b45a4ac1e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c5443361-2c89-46b2-ae01-71fdc8461142"],"pending":[],"skipped":[],"duration":22251,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e83bbd55-2666-469c-b6af-d1e048e46583","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":"56f71164-a3a6-4dae-ba03-79f90ac14467","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":27441,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\nvar newamount;\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1);\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n cy.log(\"whole str: \", tran2);\n tran2 = tran2.slice(-10, -7);\n cy.log(\"number\", tran2);\n var transaction2 = tran2.trim();\n cy.log(\"transaction 1: \", transaction2);\n var count = parseFloat(transaction1) + 1;\n expect(count).to.eq(parseFloat(transaction2));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran3 = str1.text();\n cy.log(\"whole str: \", tran3);\n tran3 = tran3.slice(-10, -7);\n cy.log(\"number\", tran3);\n var transaction3 = tran3.trim();\n cy.log(\"transaction 1: \", transaction3);\n var count = 1;\n expect(count).to.eq(parseFloat(transaction3));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/03Make_Payment_BankTransfer.spec.js:104:8)","diff":null},"uuid":"0b4a622b-6882-4e2b-9bd0-19ac2861277a","parentUUID":"56f71164-a3a6-4dae-ba03-79f90ac14467","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0b4a622b-6882-4e2b-9bd0-19ac2861277a"],"pending":[],"skipped":[],"duration":27441,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1da289e3-e25a-430c-9b01-9cc80f4a6226","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":"3ca7b140-5387-42f5-8245-a2ce7a8ace91","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":23208,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\nvar newamount;\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1);\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n cy.log(\"whole str: \", tran2);\n tran2 = tran2.slice(-10, -7);\n cy.log(\"number\", tran2);\n var transaction2 = tran2.trim();\n cy.log(\"transaction 1: \", transaction2);\n var count = parseFloat(transaction1) + 1;\n expect(count).to.eq(parseFloat(transaction2));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran3 = str1.text();\n cy.log(\"whole str: \", tran3);\n tran3 = tran3.slice(-10, -7);\n cy.log(\"number\", tran3);\n var transaction3 = tran3.trim();\n cy.log(\"transaction 1: \", transaction3);\n var count = 1;\n expect(count).to.eq(parseFloat(transaction3));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/04Make_Payment_Cheque_Status_Paid.spec.js:104:8)","diff":null},"uuid":"c5d31a62-e443-4b6f-9086-6d1d22f0213f","parentUUID":"3ca7b140-5387-42f5-8245-a2ce7a8ace91","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c5d31a62-e443-4b6f-9086-6d1d22f0213f"],"pending":[],"skipped":[],"duration":23208,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a65bb18f-597f-40cd-815e-52f5bd1a5b6c","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":"5ea4c83d-a6cf-45f7-b17a-82ebf515b580","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":23255,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1);\n makePayment(parseFloat(transaction1));\n });\n } else {\n makePayment(0);\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/05Make_Payment_Cheque_Status_Approve_Pending.spec.js:104:8)","diff":null},"uuid":"c96f416c-4092-437e-bb61-60007dcffeba","parentUUID":"5ea4c83d-a6cf-45f7-b17a-82ebf515b580","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c96f416c-4092-437e-bb61-60007dcffeba"],"pending":[],"skipped":[],"duration":23255,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"477b72c7-41d5-4859-bd2e-9b63c945b0ae","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":"768b6ad4-b32e-4069-9df3-d85bb8732412","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":22579,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1);\n makePayment(parseFloat(transaction1));\n });\n } else {\n makePayment(0);\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/06Make_Payment_Cheque_Status_Decline_Pending.spec.js:104:8)","diff":null},"uuid":"6cbfe97d-5b9a-4d04-9bdd-27cd9cd9a1a3","parentUUID":"768b6ad4-b32e-4069-9df3-d85bb8732412","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6cbfe97d-5b9a-4d04-9bdd-27cd9cd9a1a3"],"pending":[],"skipped":[],"duration":22579,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"43953fb7-63c7-4548-9ecd-099b53e909e2","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":"2df28388-414e-4b64-90e3-0933a3cd540d","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":22100,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1);\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n cy.log(\"whole str: \", tran2);\n tran2 = tran2.slice(-10, -7);\n cy.log(\"number\", tran2);\n var transaction2 = tran2.trim();\n cy.log(\"transaction 1: \", transaction2);\n var count = parseFloat(transaction1) + 1;\n expect(count).to.eq(parseFloat(transaction2));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran3 = str1.text();\n cy.log(\"whole str: \", tran3);\n tran3 = tran3.slice(-10, -7);\n cy.log(\"number\", tran3);\n var transaction3 = tran3.trim();\n cy.log(\"transaction 1: \", transaction3);\n var count = 1;\n expect(count).to.eq(parseFloat(transaction3));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/07Make_Payment_Wire_Status_Paid.spec.js:104:8)","diff":null},"uuid":"c26af877-4e1c-4915-8ab1-d0a63f7b4c4e","parentUUID":"2df28388-414e-4b64-90e3-0933a3cd540d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c26af877-4e1c-4915-8ab1-d0a63f7b4c4e"],"pending":[],"skipped":[],"duration":22100,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b8f3651c-9f21-42dc-9611-de65e39fe0b8","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":"41b66318-b899-4549-b894-384f3fee9f52","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":23220,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1);\n makePayment(parseFloat(transaction1));\n });\n } else {\n makePayment(0);\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/08Make_Payment_Wire_Status_Approve_Pending.spec.js:104:8)","diff":null},"uuid":"6ca235b3-f1c5-4298-bb03-9d1f595d8b91","parentUUID":"41b66318-b899-4549-b894-384f3fee9f52","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6ca235b3-f1c5-4298-bb03-9d1f595d8b91"],"pending":[],"skipped":[],"duration":23220,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a8935309-46ac-47fd-9793-4ba5c32b4e43","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":"1c2dafd4-4c75-4c14-a69e-14b191daa48c","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":22154,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1);\n makePayment(parseFloat(transaction1));\n });\n } else {\n makePayment(0);\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/09Make_Payment_Wire_Status_Decline_Pending.spec.js:104:8)","diff":null},"uuid":"8bbf7d02-71a8-43a9-89a7-a4ca2980f9a0","parentUUID":"1c2dafd4-4c75-4c14-a69e-14b191daa48c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8bbf7d02-71a8-43a9-89a7-a4ca2980f9a0"],"pending":[],"skipped":[],"duration":22154,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8c127ddf-0d76-4a2f-84ee-64f2662d9a08","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":"b246fc37-6e18-4285-93f7-8597a56b76bd","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Card","fullTitle":"Make Payment Make payment through Card","timedOut":null,"duration":25492,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1);\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n cy.log(\"whole str: \", tran2);\n tran2 = tran2.slice(-10, -7);\n cy.log(\"number\", tran2);\n var transaction2 = tran2.trim();\n cy.log(\"transaction 1: \", transaction2);\n var count = parseFloat(transaction1) + 1;\n expect(count).to.eq(parseFloat(transaction2));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran3 = str1.text();\n cy.log(\"whole str: \", tran3);\n tran3 = tran3.slice(-10, -7);\n cy.log(\"number\", tran3);\n var transaction3 = tran3.trim();\n cy.log(\"transaction 1: \", transaction3);\n var count = 1;\n expect(count).to.eq(parseFloat(transaction3));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/10Make_Payment_Card.spec.js:104:8)","diff":null},"uuid":"7aa19d1f-da1a-4530-bfd5-b92e5341ed2e","parentUUID":"b246fc37-6e18-4285-93f7-8597a56b76bd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7aa19d1f-da1a-4530-bfd5-b92e5341ed2e"],"pending":[],"skipped":[],"duration":25492,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"868512c0-424c-4526-8b79-fbef5291e76a","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":"c5020839-576f-4d07-aab3-6a3a69e1b13c","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through eCheck","fullTitle":"Make Payment Make payment through eCheck","timedOut":null,"duration":22334,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1);\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n cy.log(\"whole str: \", tran2);\n tran2 = tran2.slice(-10, -7);\n cy.log(\"number\", tran2);\n var transaction2 = tran2.trim();\n cy.log(\"transaction 1: \", transaction2);\n var count = parseFloat(transaction1) + 1;\n expect(count).to.eq(parseFloat(transaction2));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran3 = str1.text();\n cy.log(\"whole str: \", tran3);\n tran3 = tran3.slice(-10, -7);\n cy.log(\"number\", tran3);\n var transaction3 = tran3.trim();\n cy.log(\"transaction 1: \", transaction3);\n var count = 1;\n expect(count).to.eq(parseFloat(transaction3));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/11Make_Payment_eCheck.spec.js:104:8)","diff":null},"uuid":"817c26b7-447d-4034-9518-da4190ef503f","parentUUID":"c5020839-576f-4d07-aab3-6a3a69e1b13c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["817c26b7-447d-4034-9518-da4190ef503f"],"pending":[],"skipped":[],"duration":22334,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bdf1c0f8-0a3c-43d7-a4b8-270bc413e14d","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":"8f725d01-07e1-4ff0-8c3d-738367e5e75f","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through PayPal","fullTitle":"Make Payment Make payment through PayPal","timedOut":null,"duration":22058,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.wait(10000);\nmakePayment();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Transaction_Invoice table tbody').eq(1).within(function () {\n cy.get('tr td a').eq(0).click({\n force: true\n });\n});\ncy.get('.card-deck :nth-child(1) > .card-body > .display-4').should('contain', 'Pending');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/12Make_Payment_PayPal.spec.js:104:8)","diff":null},"uuid":"18832c51-8fff-4732-8806-4ad29112b473","parentUUID":"8f725d01-07e1-4ff0-8c3d-738367e5e75f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["18832c51-8fff-4732-8806-4ad29112b473"],"pending":[],"skipped":[],"duration":22058,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"abe25e16-7873-4c7c-ac87-9507b0b0a155","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":"4a9dd5d6-42af-4758-a824-6a3ed5f8c7fe","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":22347,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(30000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n tran2 = tran2.slice(-10, -7);\n var transaction2 = tran2.trim();\n var count = parseInt(transaction1) + 1;\n expect(count).to.eq(parseInt(transaction2));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(function (trans2) {\n var count = 1;\n var transa2 = trans2.text();\n transa2 = transa2.slice(-10, -7);\n transa2 = transa2.trim();\n expect(count).to.eq(parseInt(transa2));\n });\n }\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody a').eq(0).click({\n force: true\n });\n cy.get('[data-target=\"#approve-modal\"]').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#approve-form .btn-warning').click({\n force: true\n });\n cy.wait(7000);\n cy.visit(myUrl);\n cy.get('.font-weight-normal.text-sans-serif.text-warning').first().then(function (status) {\n expect(status.text()).to.eq('Paid ');\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Public%20Checkout/01Public_Checkout_Offline_Approve.spec.js:104:8)","diff":null},"uuid":"3cad220f-0d6b-43b9-84e7-575ad864ffa0","parentUUID":"4a9dd5d6-42af-4758-a824-6a3ed5f8c7fe","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3cad220f-0d6b-43b9-84e7-575ad864ffa0"],"pending":[],"skipped":[],"duration":22347,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8dbb47cf-b6ac-4dbf-9fa2-14fccc14f449","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":"7ef3200a-5e45-47ba-8eb8-df692abbc6d8","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":22039,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').scrollIntoView().should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n tran2 = tran2.slice(-10, -7);\n var transaction2 = tran2.trim();\n var count = parseInt(transaction1) + 1;\n expect(count).to.eq(parseInt(transaction2));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(function (trans2) {\n var count = 1;\n var transa2 = trans2.text();\n transa2 = transa2.slice(-10, -7);\n transa2 = transa2.trim();\n expect(count).to.eq(parseInt(transa2));\n });\n }\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody a').eq(0).click({\n force: true\n });\n cy.get('a[data-target=\"#decline-modal\"]').click({\n force: true\n });\n cy.get('#decline-form textarea').type('Some reason');\n cy.get('#decline-form .btn-warning').click({\n force: true\n });\n cy.visit(myUrl);\n cy.get('.font-weight-normal.text-sans-serif.text-warning').first().then(function (status) {\n expect(status.text()).to.not.eq('Paid ');\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Public%20Checkout/02Public_Checkout_Offline_Decline.spec.js:104:8)","diff":null},"uuid":"0502403e-e6e8-475d-a8d5-d4f36fbde5c3","parentUUID":"7ef3200a-5e45-47ba-8eb8-df692abbc6d8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0502403e-e6e8-475d-a8d5-d4f36fbde5c3"],"pending":[],"skipped":[],"duration":22039,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"878948e1-5fb3-466c-84d9-5b913c484905","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":"6666abb9-3825-4204-b0d8-053f428612fc","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":27053,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/invoices');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n tran2 = tran2.slice(-10, -7);\n var transaction2 = tran2.trim();\n var count = parseInt(transaction1) + 1;\n expect(count).to.eq(parseInt(transaction2));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(function (trans2) {\n var count = 1;\n var transa2 = trans2.text();\n transa2 = transa2.slice(-10, -7);\n transa2 = transa2.trim();\n expect(count).to.eq(parseInt(transa2));\n });\n }\n cy.get('.font-weight-normal.text-sans-serif.text-warning').first().then(function (status) {\n expect(status.text()).to.eq('Paid ');\n });\n });\n});","err":{"message":"TypeError: The following error originated from your application code, not from Cypress.\n\n > $(...).multiselect is not a function\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application","estack":"TypeError: The following error originated from your application code, not from Cypress.\n\n > $(...).multiselect is not a function\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at HTMLDocument.<anonymous> (https://awais.subscriptionflow.com/assets/scripts/helper.list.functions.js:1061:29)\n at e (https://dz9lwoxpvn6on.cloudfront.net/assets/js/sf-plugins.min.js:2:30038)\n at t (https://dz9lwoxpvn6on.cloudfront.net/assets/js/sf-plugins.min.js:2:30340)","diff":null},"uuid":"8c340d2e-51f4-4b0f-bb7f-fe1673741b4a","parentUUID":"6666abb9-3825-4204-b0d8-053f428612fc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8c340d2e-51f4-4b0f-bb7f-fe1673741b4a"],"pending":[],"skipped":[],"duration":27053,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dda29113-f530-4817-b004-ac23588b9af4","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":"95030f68-3428-4ead-ba29-1ada38b99263","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":22850,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit(\"https://awais.subscriptionflow.com/en/customers\");\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().click({\n force: true\n });\n});\ncy.get('.pull-right > [data-title=\"New Order\"]').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.get(':nth-child(2) > .custom-control-label').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.get('#display-name-continue').click({\n force: true\n});\ncy.wait(10000);\ncy.visit('https://awais.subscriptionflow.com/en/invoices');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\ncy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n});\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n});\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n});\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n});\ncy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().click({\n force: true\n}); // var i = -1;\n// var j;\n// cy.get('#listViewTableEl thead th').each((element)=>{\n// if((element.text()).includes(\"Total Amount\")){\n// // j = \"[data-sfuniqueid = dataTable__table-td-\" + i +\"] a\";\n// j = i;\n// }\n// else{\n// i = i + 1;\n// }\n// }).then( () => {\n// cy.log(\"j here: \"+j)\n// })\n// .then( function(){\n// var index = 0;\n// cy.get('#listViewTableEl tbody tr').each(()=> {\n// cy.get('#listViewTableEl tbody tr td').eq(j).then(amt=>{\n// var amount = (amt.text()).replace(/[^[0-9.]/g,'');\n// amount = parseInt(amount);\n// if(!(amount > 100)){\n// cy.log(amount)\n// return false;\n// }\n// })\n// index++;\n// }).then( function(){\n// cy.get('#listViewTableEl tbody tr').eq(4).first().click({force:true})\n// })\n// })\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n tran2 = tran2.slice(-10, -7);\n var transaction2 = tran2.trim();\n var count = parseInt(transaction1) + 1;\n expect(count).to.eq(parseInt(transaction2));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(function (trans2) {\n var count = 1;\n var transa2 = trans2.text();\n transa2 = transa2.slice(-10, -7);\n transa2 = transa2.trim();\n expect(count).to.eq(parseInt(transa2));\n });\n }\n cy.get('.font-weight-normal.text-sans-serif.text-warning').first().then(function (status) {\n expect(status.text()).to.eq('Paid ');\n });\n });\n});","err":{"message":"TypeError: The following error originated from your application code, not from Cypress.\n\n > $(...).multiselect is not a function\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application","estack":"TypeError: The following error originated from your application code, not from Cypress.\n\n > $(...).multiselect is not a function\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at HTMLDocument.<anonymous> (https://awais.subscriptionflow.com/assets/scripts/helper.list.functions.js:1061:29)\n at e (https://dz9lwoxpvn6on.cloudfront.net/assets/js/sf-plugins.min.js:2:30038)\n at t (https://dz9lwoxpvn6on.cloudfront.net/assets/js/sf-plugins.min.js:2:30340)","diff":null},"uuid":"84de4fc3-e8eb-47d5-8751-c1b74b411ea4","parentUUID":"95030f68-3428-4ead-ba29-1ada38b99263","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["84de4fc3-e8eb-47d5-8751-c1b74b411ea4"],"pending":[],"skipped":[],"duration":22850,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a7af6c04-f95b-4826-969a-76a2739e2d47","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":"9486f9b8-5518-4212-8248-a22dc1d7116f","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":48882,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(20000);\ncy.visit('https://awais.subscriptionflow.com/en/invoices');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n tran2 = tran2.slice(-10, -7);\n var transaction2 = tran2.trim();\n var count = parseInt(transaction1) + 1;\n expect(count).to.eq(parseInt(transaction2));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(function (trans2) {\n var count = 1;\n var transa2 = trans2.text();\n transa2 = transa2.slice(-10, -7);\n transa2 = transa2.trim();\n expect(count).to.eq(parseInt(transa2));\n });\n }\n cy.get('.font-weight-normal.text-sans-serif.text-warning').first().then(function (status) {\n expect(status.text()).to.eq('Paid ');\n });\n });\n});","err":{"message":"TypeError: The following error originated from your application code, not from Cypress.\n\n > $(...).multiselect is not a function\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application","estack":"TypeError: The following error originated from your application code, not from Cypress.\n\n > $(...).multiselect is not a function\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at HTMLDocument.<anonymous> (https://awais.subscriptionflow.com/assets/scripts/helper.list.functions.js:1061:29)\n at e (https://dz9lwoxpvn6on.cloudfront.net/assets/js/sf-plugins.min.js:2:30038)\n at t (https://dz9lwoxpvn6on.cloudfront.net/assets/js/sf-plugins.min.js:2:30340)","diff":null},"uuid":"3ccd397f-a0d9-4784-a670-d4f114f04625","parentUUID":"9486f9b8-5518-4212-8248-a22dc1d7116f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3ccd397f-a0d9-4784-a670-d4f114f04625"],"pending":[],"skipped":[],"duration":48882,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"31aa40b2-84bd-4172-9997-609053f1e2ae","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":"5fab44d6-92d5-42b4-8af0-43a91e8a2491","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":22455,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.log(\"j here: \" + j);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n tran2 = tran2.slice(-10, -7);\n var transaction2 = tran2.trim();\n var count = parseInt(transaction1) + 1;\n expect(count).to.eq(parseInt(transaction2));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(function (trans2) {\n var count = 1;\n var transa2 = trans2.text();\n transa2 = transa2.slice(-10, -7);\n transa2 = transa2.trim();\n expect(count).to.eq(parseInt(transa2));\n });\n }\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody a').eq(0).click({\n force: true\n });\n cy.get('[data-target=\"#approve-modal\"]').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#approve-form .btn-warning').click({\n force: true\n });\n cy.wait(7000);\n cy.visit(myUrl);\n cy.get('.font-weight-normal.text-sans-serif.text-warning').first().then(function (status) {\n expect(status.text()).to.eq('Paid ');\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Public%20Checkout/08Public_Checkout_PayPal_ExpressCheckout_Approve.spec.js:104:8)","diff":null},"uuid":"3cb0a196-aeee-4132-a28c-eeb3b02f12fa","parentUUID":"5fab44d6-92d5-42b4-8af0-43a91e8a2491","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3cb0a196-aeee-4132-a28c-eeb3b02f12fa"],"pending":[],"skipped":[],"duration":22455,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7ea18429-1a10-4b45-a826-c92738b64c92","title":"","fullFile":"cypress/integration/SF/j-invoices/Public Checkout/09Public_Checkout_PayPal_ExpressCheckout_Decline.spec.js","file":"cypress/integration/SF/j-invoices/Public Checkout/09Public_Checkout_PayPal_ExpressCheckout_Decline.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6a426a8f-d107-464f-b379-5af47cf4ed21","title":"Public Checkout using PayPal Express Checkout","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Public checkout using PayPal Express Checkout and I decline","fullTitle":"Public Checkout using PayPal Express Checkout Public checkout using PayPal Express Checkout and I decline","timedOut":null,"duration":23116,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n }\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody a').eq(0).click({\n force: true\n });\n cy.get('a[data-target=\"#decline-modal\"]').click({\n force: true\n });\n cy.get('#decline-form textarea').type('Some reason');\n cy.get('#decline-form .btn-warning').click({\n force: true\n });\n cy.visit(myUrl);\n cy.get('.font-weight-normal.text-sans-serif.text-warning').first().then(function (status) {\n expect(status.text()).to.not.eq('Paid ');\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Public%20Checkout/09Public_Checkout_PayPal_ExpressCheckout_Decline.spec.js:104:8)","diff":null},"uuid":"2972219c-ea4e-460d-b8fa-28fc23cce08c","parentUUID":"6a426a8f-d107-464f-b379-5af47cf4ed21","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2972219c-ea4e-460d-b8fa-28fc23cce08c"],"pending":[],"skipped":[],"duration":23116,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"80f403c5-fb5d-4bd5-be85-84a32c72ab72","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":"0809948a-c541-4370-bc7b-70eeeed6888f","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":22607,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type('$0', {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('.search_form_container ul li .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('#filter-condition-field_9 > .select2-container > .selection > .select2-selection > .select2-selection__arrow').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n }); /////////////////\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.eq('No Records Found');\n } else {\n cy.get('tbody [data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(0).then(function (transaction) {\n var trans = transaction.prop('href');\n cy.visit(trans);\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(8000);\ncy.contains('Apply Payment').click({\n force: true\n});\ncy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .form-group > .col-sm-9 > .link-primary').then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/01Pay_Invoice_Using_Unapplied_Amount.spec.js:104:8)","diff":null},"uuid":"6852f84b-0703-4192-b44e-bd0468a977b5","parentUUID":"0809948a-c541-4370-bc7b-70eeeed6888f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6852f84b-0703-4192-b44e-bd0468a977b5"],"pending":[],"skipped":[],"duration":22607,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d11c6928-c0c0-4d16-8e85-29bb543ed397","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":"351ed527-861c-4256-a7f9-91322afe550b","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":26621,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type('$0', {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('.search_form_container ul li .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('#filter-condition-field_9 > .select2-container > .selection > .select2-selection > .select2-selection__arrow').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n }); /////////////////\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.eq('No Records Found');\n } else {\n cy.get('tbody [data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(0).then(function (transaction) {\n var trans = transaction.prop('href');\n cy.visit(trans);\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(8000);\ncy.contains('Apply Payment').click({\n force: true\n});\ncy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .form-group > .col-sm-9 > .link-primary').then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/02Pay_Invoice_Using_Unapplied_Amt_Gt_Allocated.spec.js:104:8)","diff":null},"uuid":"1a422f81-915c-4920-8db7-004af996b249","parentUUID":"351ed527-861c-4256-a7f9-91322afe550b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1a422f81-915c-4920-8db7-004af996b249"],"pending":[],"skipped":[],"duration":26621,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1dea8a39-892c-4cdd-b883-44a661a82282","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":"0e08322c-a1f9-43e3-a3f3-11a5dfd2caa2","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":22093,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type('$0', {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('.search_form_container ul li .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('#filter-condition-field_9 > .select2-container > .selection > .select2-selection > .select2-selection__arrow').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n }); /////////////////\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.eq('No Records Found');\n } else {\n cy.get('tbody [data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(0).then(function (transaction) {\n var trans = transaction.prop('href');\n cy.visit(trans);\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(8000);\ncy.contains('Apply Payment').click({\n force: true\n});\ncy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .form-group > .col-sm-9 > .link-primary').then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/03Pay_Invoice_Using_Unapplied_Amt_Lt_Allocated.spec.js:104:8)","diff":null},"uuid":"774da9b6-139e-461f-81fc-46f4c96bdac7","parentUUID":"0e08322c-a1f9-43e3-a3f3-11a5dfd2caa2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["774da9b6-139e-461f-81fc-46f4c96bdac7"],"pending":[],"skipped":[],"duration":22093,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"34caf5ef-1fa1-4472-8e5c-1c792d0e4421","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":"39c8befc-37e2-4226-b3e0-9d0956920d44","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":23550,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type('$0', {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('.search_form_container ul li .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('#filter-condition-field_9 > .select2-container > .selection > .select2-selection > .select2-selection__arrow').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n }); /////////////////\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.eq('No Records Found');\n } else {\n cy.get('tbody [data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(0).then(function (transaction) {\n var trans = transaction.prop('href');\n cy.visit(trans);\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(8000);\ncy.contains('Apply Payment').click({\n force: true\n});\ncy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .form-group > .col-sm-9 > .link-primary').then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/04Pay_Invoice_Using_Unapplied_Amt_Lt_Outstanding.spec.js:104:8)","diff":null},"uuid":"546ae079-b0cb-423f-aff0-3e88411ab8b2","parentUUID":"39c8befc-37e2-4226-b3e0-9d0956920d44","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["546ae079-b0cb-423f-aff0-3e88411ab8b2"],"pending":[],"skipped":[],"duration":23550,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"004b6061-40ca-4fd5-b95a-a6fcb4de72d8","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":"43fc4b9d-b33a-43e2-bf5e-5a6e5cd65ab8","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":22836,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type('$0', {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('.search_form_container ul li .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('#filter-condition-field_9 > .select2-container > .selection > .select2-selection > .select2-selection__arrow').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n }); /////////////////\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.eq('No Records Found');\n } else {\n cy.get('tbody [data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(0).then(function (transaction) {\n var trans = transaction.prop('href');\n cy.visit(trans);\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(8000);\ncy.contains('Apply Payment').click({\n force: true\n});\ncy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .form-group > .col-sm-9 > .link-primary').then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/05Pay_Invoice_Using_Unapplied_Amt_Eq_Outstanding.spec.js:104:8)","diff":null},"uuid":"3afdb58b-40ba-49d0-837c-d49e42a2c9a5","parentUUID":"43fc4b9d-b33a-43e2-bf5e-5a6e5cd65ab8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3afdb58b-40ba-49d0-837c-d49e42a2c9a5"],"pending":[],"skipped":[],"duration":22836,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c68728d4-b1ee-4c42-aa27-a1e5af98264c","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":"6ed712c3-7d02-41fc-b0cb-ede9cca9fb5a","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":22185,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type('$0', {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('.search_form_container ul li .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('#filter-condition-field_9 > .select2-container > .selection > .select2-selection > .select2-selection__arrow').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n }); /////////////////\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.eq('No Records Found');\n } else {\n cy.get('tbody [data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(0).then(function (transaction) {\n var trans = transaction.prop('href');\n cy.visit(trans);\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(8000);\ncy.contains('Apply Payment').click({\n force: true\n});\ncy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .form-group > .col-sm-9 > .link-primary').then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/06Pay_Invoice_Using_Unapplied_Amt_Gtr_Than_Outstanding.spec.js:104:8)","diff":null},"uuid":"182df72a-ae08-41ea-9ebd-b22d07acd5b6","parentUUID":"6ed712c3-7d02-41fc-b0cb-ede9cca9fb5a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["182df72a-ae08-41ea-9ebd-b22d07acd5b6"],"pending":[],"skipped":[],"duration":22185,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"147bc7be-6c27-4fcb-af70-1c1cf9382d08","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":"06daa0f0-318e-4ddb-b922-8733472976c9","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":35464,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type('$0', {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('.search_form_container ul li .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('#filter-condition-field_9 > .select2-container > .selection > .select2-selection > .select2-selection__arrow').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n }); /////////////////\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text().trim()).to.eq('No Records Found');\n } else {\n cy.get('tbody [data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(0).then(function (transaction) {\n var trans = transaction.prop('href');\n cy.visit(trans);\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(8000);\ncy.contains('Apply Payment').click({\n force: true\n});\ncy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .form-group > .col-sm-9 > .link-primary').then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/07Pay_Multiple_Invoice_Using_Unapplied_Amt.spec.js:104:8)","diff":null},"uuid":"187eb346-ffb4-483b-857a-a0d0ff03d01f","parentUUID":"06daa0f0-318e-4ddb-b922-8733472976c9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["187eb346-ffb4-483b-857a-a0d0ff03d01f"],"pending":[],"skipped":[],"duration":35464,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3b5a37e3-7763-4bab-959b-a76f6e422e23","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":"48a33f6e-f568-4f07-a537-e3ca7679e65d","title":"Timeline","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Timeline - Timeline Page","fullTitle":"Timeline Timeline - Timeline Page","timedOut":null,"duration":17312,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/customers');\ncy.check();\ncy.wait(5000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n});\ncy.wait(5000);\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').first().then(function (found_uname) {\n expect(found_uname.text()).to.include('Andy Barymore');\n}).click();\ncy.wait(5000);\ncy.get('#detail-title').should('contain', 'Andy Barymore');\ncy.get('#timeline-tab').should('contain', 'History').click({\n force: true\n});\ncy.get('#timeline-tab-container > :nth-child(1) > :nth-child(1)').contains('Upcoming Actions'); // cy.get('#timeline-tab-container > :nth-child(1) > .tab > .nav > :nth-child(1) > .nav-link').contains('Payment History').click({ force: true })\ncy.get('#timeline_container_wrap').its('length').should('be.gt', 0);\ncy.get('#timeline_container_wrap .timeLineHistDataList li span.d-inline-b.fL.timeLineHistCont.pR').should('satisfy', function (el) {\n return el.text().includes('Credit Note allocated for') || el.text().includes('Charged') || el.text().includes('Payment Pending');\n});\ncy.get('#timeline_container_wrap .timeLineHistInner .timeLineHistDataList li span.timeLineHistCont.pR div span').eq(0).contains('Transaction Number:');\ncy.get('#timeline_container_wrap .timeLineHistInner .timeLineHistDataList li span.d-inline-b.fL.timeLineHistCont.pR div span').eq(1).contains('Payment Source:');\ncy.get('#timeline-tab-container > :nth-child(1) > .tab > .nav > :nth-child(2) > .nav-link').contains('Other').click({\n force: true\n});\ncy.get('.timeline_added.Tasks.d-flex .d-inline-b.fL.timeLineHistCont.pR').its('length').should('be.gt', 0);","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#basic_search`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/01-timeline-page.js:104:8)","diff":null},"uuid":"98a23c77-0621-4de2-b590-01a1e8eb07e5","parentUUID":"48a33f6e-f568-4f07-a537-e3ca7679e65d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["98a23c77-0621-4de2-b590-01a1e8eb07e5"],"pending":[],"skipped":[],"duration":17312,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"42ccdd49-1d71-4960-9c45-c685ab49a20b","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":"c5cd19ef-b47a-4dcb-a680-df9be4d86979","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":23677,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/customers');\ncy.check();\ncy.wait(5000);\ncy.get('a[data-title=\" New Customer\"] .desktop-display').click({\n force: true\n});\ncy.wait(5000);\nvar random = userID_Alpha_Numeric();\ncy.get('.col-sm-auto > .fs-0').should('contain', 'New Customer');\ncy.get('#name-input').type(random, {\n force: true\n});\ncy.get('#phone_number-input').type('(800)555-1234', {\n force: true\n});\ncy.get('[wt-parent=\"email_address\"] input').first().type(random + '@mail.com', {\n force: true\n});\ncy.get('#copyBillingToShipping').click({\n force: true\n});\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_country-input-results li').eq(0).click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_state-input-results li').eq(0).click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_city-input-results li').eq(0).click({\n force: true\n});\ncy.get('#billing_county-input').type('abcd');\ncy.get('#billing_address_1-input').type('Kabul Road');\ncy.get('#billing_postal_code-input').type('55555');\ncy.get('.col-md-12 > .btn-warning').contains('Save').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#timeline-tab').should('contain', 'History').click({\n force: true\n});\ncy.get('#timeline-tab-container > :nth-child(1) > .tab > .nav > :nth-child(2) > .nav-link').contains('Other').click({\n force: true\n});\ncy.get('.timeLineHistInner ul li').last().contains('Current Customer has been created');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `a[data-title=\" New Customer\"] .desktop-display`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `a[data-title=\" New Customer\"] .desktop-display`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/02-create-customer-and-verify-timeline.js:104:8)","diff":null},"uuid":"b227ea01-83a7-4b23-866b-6ed094a182e5","parentUUID":"c5cd19ef-b47a-4dcb-a680-df9be4d86979","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b227ea01-83a7-4b23-866b-6ed094a182e5"],"pending":[],"skipped":[],"duration":23677,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a3acc18b-577f-4a9c-85f4-9cbe4791fb37","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":"0a05ccea-95e1-4c20-95f3-38068c8da295","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":17323,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/contacts/create');\ncy.check();\ncy.wait(5000);\nvar random = userID_Alpha_Numeric();\ncy.get('.col-sm-auto > .fs-0').should('contain', 'New Contact');\ncy.get('#salutation-input').select('Mr.', {\n force: true\n});\ncy.get('#first_name-input').type('Nate', {\n force: true\n});\ncy.get('#last_name-input').type('Diaz', {\n force: true\n});\ncy.get('[wt-parent=\"email_address\"] input').first().type(random + '@mail.com', {\n force: true\n});\ncy.get('#personal_phone-input').type('(800)555-1234', {\n force: true\n});\ncy.get('#select2-customer_id-input-container').click({\n force: true\n});\ncy.get('.select2-container.select2-container--default.select2-container--open input.select2-search__field').type('nate', {\n force: true\n}).type('nate', {\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-customer_id-input-container').first().click({\n force: true\n});\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_country-input-results li').eq(0).click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_state-input-results li').eq(0).click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_city-input-results li').eq(0).click({\n force: true\n});\ncy.get('#billing_county-input').type('abcd', {\n force: true\n});\ncy.get('#billing_address_1-input').type('Kabul Road', {\n force: true\n});\ncy.get('#billing_postal_code-input').type('55555', {\n force: true\n});\ncy.get('.col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n});\ncy.wait(5000);\ncy.get('#timeline-tab').should('contain', 'History').click({\n force: true\n}); // cy.get('#timeline-tab-container > :nth-child(1) > .nav > :nth-child(2) > .nav-link').contains('Other').click({ force: true })\ncy.get('.timeLineHistInner .pt10').first().should('contain', 'Current Contact has been created');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.col-sm-auto > .fs-0`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.col-sm-auto > .fs-0`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/03-create-contact-and-verify-on-timeline.js:105:36)","diff":null},"uuid":"4d56135b-8df7-45bc-8871-0dd882d20abd","parentUUID":"0a05ccea-95e1-4c20-95f3-38068c8da295","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4d56135b-8df7-45bc-8871-0dd882d20abd"],"pending":[],"skipped":[],"duration":17323,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"52febcfc-bf72-452f-aa91-2d125428699f","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":"fd912f9a-cc4b-4d8c-ab0a-579025ba8d3a","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":12371,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/customers');\ncy.check();\nvar random = userID_Alpha_Numeric();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get('.d-flex > :nth-child(1) > p').first().then(function (name) {\n var cusName = name.text();\n cy.log(\"customer_name:\", cusName);\n cusName = cusName.trim();\n cusName = cusName.slice(31);\n cy.log(\"customer_name after:\", cusName);\n cy.get('.row .col-3 .link-primary').then(function (phn) {\n var number = phn.text().trim();\n cy.log(number);\n cy.get('.text-left > .btn-warning').contains('Edit').click({\n force: true\n });\n cy.get('#name-input').type('Updated', {\n force: true\n });\n cy.get('#phone_number-input').clear({\n force: true\n });\n cy.get('#phone_number-input').type('1-800-555-1234', {\n force: true\n });\n cy.get('[wt-parent=\"email_address\"] [name=\"email[]\"]').clear({\n force: true\n });\n cy.get('[wt-parent=\"email_address\"] [name=\"email[]\"]').first().type(random + '@mail.com', {\n force: true\n });\n cy.get('.col-md-12 > .btn-warning').contains('Save').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#timeline-tab').should('contain', 'History').click({\n force: true\n });\n cy.get('#timeline-tab-container > :nth-child(1) > .tab > .nav > :nth-child(2) > .nav-link').contains('Other').click({\n force: true\n });\n cy.get('.timeLineHistDataList .timeline_added.Tasks.d-flex .d-inline-b.fL.timeLineHistCont.pR .pt10').should('contain', 'Current Customer has been updated');\n cy.get('.timeLineHistDataList .timeline_added.Tasks.d-flex .d-inline-b.fL.timeLineHistCont.pR .pt10').should('contain', 'Name was updated from ' + cusName.trim() + ' to ' + cusName.trim() + 'Updated');\n cy.get('.timeLineHistDataList .timeline_added.Tasks.d-flex .d-inline-b.fL.timeLineHistCont.pR .pt10').should('contain', 'Phone Number was updated from ' + number + ' to 1-800-555-1234');\n });\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/04-update-customer.js:104:8)","diff":null},"uuid":"a40fab5f-6441-4665-bd15-c20e29b993af","parentUUID":"fd912f9a-cc4b-4d8c-ab0a-579025ba8d3a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a40fab5f-6441-4665-bd15-c20e29b993af"],"pending":[],"skipped":[],"duration":12371,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ed8abbbf-8c6d-4138-bf69-29e3b9053d86","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":"a9b059d8-ac1f-4e46-bcea-7dc6bc3e13a8","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":18847,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/contacts');\ncy.check();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get(':nth-child(2) > :nth-child(6) > span').then(function (lName) {\n var lastName = lName.text().trim().replace(/\\n/g, '');\n cy.log(lastName);\n console.log(lastName);\n cy.get('.link-primary').then(function (pPhone) {\n var personal_phone = pPhone.text().trim();\n cy.get('.text-left > .btn-warning').click({\n force: true\n });\n cy.get('#last_name-input').type('Updated', {\n force: true\n });\n cy.get('#personal_phone-input').clear({\n force: true\n });\n cy.get('#personal_phone-input').type('1-800-555-1234', {\n force: true\n });\n cy.get('.col-md-12.text-right > .btn-warning').click({\n force: true\n });\n cy.get('.mb-2 > .nav-link > span').click({\n force: true\n });\n cy.get('.timeLineHistDataList .timeline_added.Tasks.d-flex .d-inline-b.fL.timeLineHistCont.pR .pt10').should('contain', 'Current Contact has been updated');\n cy.get('.timeLineHistDataList .timeline_added.Tasks.d-flex .d-inline-b.fL.timeLineHistCont.pR .pt10').should('contain', 'Personal Phone was updated from ' + personal_phone.trim() + ' to 1-800-555-1234');\n cy.get('.timeLineHistDataList .timeline_added.Tasks.d-flex .d-inline-b.fL.timeLineHistCont.pR .pt10').should('contain', 'Last Name was updated from ' + lastName.trim() + ' to ' + lastName.trim() + 'Updated');\n });\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/05-update-contact.js:103:8)","diff":null},"uuid":"6077b77c-d702-44b5-b5d0-fc032a622ca2","parentUUID":"a9b059d8-ac1f-4e46-bcea-7dc6bc3e13a8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6077b77c-d702-44b5-b5d0-fc032a622ca2"],"pending":[],"skipped":[],"duration":18847,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c29b052a-c552-4f2f-8dd5-e6b10896ff8a","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":"e98f3f37-a2a5-4e49-b7d9-b269e1b7363a","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":12976,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/customers');\ncy.check();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.get(':nth-child(2) > .custom-control-label').click({\n force: true\n});\ncy.get(':nth-child(2) > .input-group > .select2 > .selection > .select2-selection > .select2-selection__arrow').click({\n force: true\n});\ncy.get('.select2-container .select2-dropdown input[class=\"select2-search__field\"]').type('Random Product', {\n force: true\n});\ncy.wait(5000);\ncy.get('.select2-results__option.select2-results__option--highlighted').first().click({\n force: true\n});\ncy.get(':nth-child(3) > .input-group > .select2 > .selection > .select2-selection > .select2-selection__arrow > b').click({\n force: true\n});\ncy.get('.select2-search__field').type('Test Plan');\ncy.wait(5000);\ncy.get('.select2-results__option.select2-results__option--highlighted').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.get('#display-name-continue').click({\n force: true\n});\ncy.wait(5000);\ncy.reload();\ncy.get('#relatedList-bulk-action-Order_Customer #relatedViewTableEl tr td a').eq(0).then(function (order) {\n var orderName = order.text().trim();\n cy.log(\"order: \", orderName);\n cy.get('#relatedList-bulk-action-Subscription_Customer #relatedViewTableEl tr td a').eq(1).then(function (subscription) {\n var subscriptionName = subscription.text().trim();\n cy.log('Subscription: ', subscriptionName);\n cy.get('#relatedList-bulk-action-Invoice_Customer #relatedViewTableEl tr td a').eq(0).then(function (invoice) {\n var invoiceName = invoice.text().trim();\n cy.log(\"invoice: \", invoiceName);\n cy.get('#timeline-tab').should('contain', 'History').click({\n force: true\n });\n cy.get('#timeline-tab-container > :nth-child(1) > .tab > .nav > :nth-child(2) > .nav-link').contains('Other').click({\n force: true\n });\n cy.get(':nth-child(2) > .timeLineHistCont > .pt10').should('contain', 'Invoice TBD has been created');\n cy.get(':nth-child(4) > .timeLineHistCont > .pt10').should('contain', 'Invoice ' + invoiceName.trim() + ' has been created');\n cy.get(':nth-child(5) > .timeLineHistCont > .pt10').should('contain', 'Order ' + orderName.trim() + ' has been created');\n cy.get('#other-history > #timeline_container_wrap > .timeLineHistInner > .timeLineHistDataList > :nth-child(6) > .timeLineHistCont > .pt10').should('contain', 'Subscription ' + subscriptionName.trim() + ' has been created');\n });\n });\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/06-create-order.js:106:8)","diff":null},"uuid":"ff3b2c87-48f5-467d-b93d-57be86bf5c3a","parentUUID":"e98f3f37-a2a5-4e49-b7d9-b269e1b7363a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ff3b2c87-48f5-467d-b93d-57be86bf5c3a"],"pending":[],"skipped":[],"duration":12976,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b20276ed-a588-4905-8499-3306b25d9fef","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":"10ae1efc-b36b-4676-83f7-ba346d1d1983","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":12187,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/customers');\ncy.check();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .create-center-modal').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#payment-gateway-input').select('Stripe', {\n force: true\n}); // cy.get('#first_name-input').then((fname) => {\n// if ((fname.text()).includes('')) {\n// cy.get('#first_name-input').type('Rocky', { force: true })\n// }\n// })\n// .should('have.value', '');\ncy.get('#select2-billing_country-input-container').click({\n force: true\n}); // cy.get('#select2-billing_country-input-container').click({force:true})\ncy.wait(10000);\ncy.get('#select2-billing_country-input-results li.select2-results__option').eq(0).click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_state-input-results li').eq(0).click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_city-input-results li').eq(0).click({\n force: true\n});\ncy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).click({\n force: true\n }).clear().type('4242424242424242');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(1).click({\n force: true\n }).clear().type('425');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(2).click({\n force: true\n }).clear().type('424');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(3).click({\n force: true\n }).clear().type('77777');\n});\ncy.get('#save_button_dis').click();\ncy.wait(5000);\ncy.reload();\ncy.get('.d-flex > :nth-child(1) > p').first().then(function (name) {\n var cusName = name.text();\n cy.log(\"customer_name:\", cusName);\n cusName = cusName.trim();\n cusName = cusName.slice(31);\n cy.log(\"customer_name after:\", cusName);\n cy.get('#timeline-tab').should('contain', 'History').click({\n force: true\n });\n cy.get('#timeline-tab-container > :nth-child(1) > .tab > .nav > :nth-child(2) > .nav-link').contains('Other').click({\n force: true\n });\n cy.get(':nth-child(1) > .timeLineHistCont > .pt10').should('contain', cusName + ' New Payment Method Added');\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/07-add-payment-method.js:106:8)","diff":null},"uuid":"8a0fd304-8ab8-473f-b13e-479a25d9ef44","parentUUID":"10ae1efc-b36b-4676-83f7-ba346d1d1983","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8a0fd304-8ab8-473f-b13e-479a25d9ef44"],"pending":[],"skipped":[],"duration":12187,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b1411d6d-137a-456d-8097-aff7e7affaac","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":"7cdb25d4-f09d-4642-ad2d-00a5ac608494","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":28110,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Stripe').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get('#default-input').click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\n});\ncy.wait(10000);\ncy.visit('/en/customers');\ncy.check();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get('.d-flex > :nth-child(1) > p').first().then(function (name) {\n var cusName = name.text();\n cy.log(\"customer_name:\", cusName);\n cusName = cusName.trim();\n cusName = cusName.slice(31);\n cusName = cusName.trim();\n cy.log(\"customer_name after:\", cusName);\n cy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .mr-3').invoke('removeAttr', 'target').click({\n force: true\n });\n cy.get('#sc_pcp-chk-acc-info_inp-fname-el').type('Dana');\n cy.get('#sc_pcp-chk-acc-info_inp-lname-el').type('White');\n cy.get('#sc_pcp-chk-acc-info_inp-email-el').type('danawhite@mail.com');\n cy.get('#sc_pcp-chk-acc-info_inp-phone-el').type('(800)555-1234');\n cy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-results__option').eq(0).click({\n force: true\n });\n cy.get('#sc_pcp-chk-billing-addr-inp-state-el').type('Kabul');\n cy.get('#sc_pcp-chk-billing-addr-inp-city-el').type('Kabul');\n cy.get('#sc_pcp-chk-billing-addr-inp-zip-el').type('53000');\n cy.get('#sc_pcp-chk-billing-addr-inp-addrline1-el').type('House 1 Street 1');\n cy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).click({\n force: true\n }).clear().type('4242424242424242');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(1).click({\n force: true\n }).clear().type('425');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(2).click({\n force: true\n }).clear().type('424');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(3).click({\n force: true\n }).clear().type('77777');\n });\n cy.get('.custom-control-label.pcpDesignerTarget-genericTxtClr.pcpDesignerTarget-genericTxtSize').click({\n force: true\n });\n cy.get('#sc_pcp-chk-subscribe_el_btn').click();\n cy.wait(5000);\n cy.get('.lead').contains('Your payment method has been added successfully.').should('be.visible');\n cy.visit('/en/customers');\n cy.get('#basic_search').type(cusName, {\n force: true\n }).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n });\n });\n cy.get('.mb-2 > .nav-link > span').click();\n cy.get('#timeline-tab').should('contain', 'History').click({\n force: true\n });\n cy.get('#timeline-tab-container > :nth-child(1) > .tab > .nav > :nth-child(2) > .nav-link').contains('Other').click({\n force: true\n });\n cy.get('#other-history > #timeline_container_wrap > .timeLineHistInner > .timeLineHistDataList > :nth-child(1) > .timeLineHistCont > .pt10').should('contain', 'Dana White New Payment Method Added');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.integration-box-item strong`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.integration-box-item strong`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/08-add-public-payment-method.js:115:8)","diff":null},"uuid":"309a226e-a215-4547-9037-e25ab6398e19","parentUUID":"7cdb25d4-f09d-4642-ad2d-00a5ac608494","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["309a226e-a215-4547-9037-e25ab6398e19"],"pending":[],"skipped":[],"duration":28110,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"84b3cde7-2d10-4d5d-b7a2-fbe42110168c","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":"76b5efcb-7a63-40f4-84ef-9b163c3ae9f1","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":12809,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get('.detail-top-btn .btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-item').contains('Process Payment').click({\n force: true\n});\ncy.get('.table > tbody > tr > td').then(function (text) {\n if (text.text() == 'No Unpaid or Overdue invoices found') {\n cy.log(\"ififififififififififififififif\");\n cy.get('.table > tbody > tr > td').should('contain', 'No Unpaid or Overdue invoices found');\n cy.go(-1);\n createOrder(); // payInvoice()\n } else {\n cy.log(\"elseelseelseelseelseelseelseelseelseelse\");\n cy.wait(5000);\n cy.go(-1); // payInvoice()\n }\n payInvoice();\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/09-pay-invoice-using-process-payment.js:106:8)","diff":null},"uuid":"8b09ea94-d483-4268-9b43-be153fa82188","parentUUID":"76b5efcb-7a63-40f4-84ef-9b163c3ae9f1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8b09ea94-d483-4268-9b43-be153fa82188"],"pending":[],"skipped":[],"duration":12809,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"550f8478-1b45-407d-a566-3475784fd9c7","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":"3f1ff959-cb44-493c-ba93-73cb4b7c1711","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":12256,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get('.detail-top-btn .btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-item').contains('Process Payment').click({\n force: true\n});\ncy.get('.table > tbody > tr > td').then(function (text) {\n if (text.text() == 'No Unpaid or Overdue invoices found') {\n cy.log(\"ififififififififififififififif\");\n cy.get('.table > tbody > tr > td').should('contain', 'No Unpaid or Overdue invoices found');\n cy.go(-1);\n createOrder();\n createOrder1();\n } else {\n cy.get(':nth-child(2) > .card-body .table tbody').children().then(function (len) {\n if (len.length == 1) {\n cy.log(\"final iffinal iffinal iffinal if\");\n cy.go(-1);\n createOrder();\n } else {\n cy.go(-1);\n cy.log(\"nothingnothingnothingnothingnothingnothing\");\n }\n });\n }\n payInvoice();\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/10-pay-multiple-invoice-using-process-payment.js:106:8)","diff":null},"uuid":"c34b9c5f-55b1-40cf-a11a-68ef1a21565f","parentUUID":"3f1ff959-cb44-493c-ba93-73cb4b7c1711","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c34b9c5f-55b1-40cf-a11a-68ef1a21565f"],"pending":[],"skipped":[],"duration":12256,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ad88ff1d-4520-4cf2-b04b-41baffc5c615","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":"91858927-47fb-4492-a962-c221b3d237f4","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":12389,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get('.detail-top-btn .btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-item').contains('Process Payment').click({\n force: true\n});\ncy.get('.table > tbody > tr > td').then(function (text) {\n if (text.text() == 'No Unpaid or Overdue invoices found') {\n cy.get('.table > tbody > tr > td').should('contain', 'No Unpaid or Overdue invoices found');\n cy.go(-1);\n createOrder();\n payInvoice();\n } else {\n cy.wait(5000);\n cy.go(-1);\n payInvoice();\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/11-pay-invoice-with-credit-card-using-process-payment.js:106:8)","diff":null},"uuid":"48dcb349-0e84-42af-8110-d492e2051d90","parentUUID":"91858927-47fb-4492-a962-c221b3d237f4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["48dcb349-0e84-42af-8110-d492e2051d90"],"pending":[],"skipped":[],"duration":12389,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"797bed66-3409-40f3-aef9-8094aec2d5ec","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":"970b9e05-17e3-4773-9de6-b2df3fa2c098","title":"Pay Invoice with echeck using Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given the user is on customer’s details page","fullTitle":"Pay Invoice with echeck using Process Payment Given the user is on customer’s details page","timedOut":null,"duration":18055,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get('.detail-top-btn .btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-item').contains('Process Payment').click({\n force: true\n});\ncy.get('.table > tbody > tr > td').then(function (text) {\n if (text.text() == 'No Unpaid or Overdue invoices found') {\n cy.get('.table > tbody > tr > td').should('contain', 'No Unpaid or Overdue invoices found');\n cy.go(-1);\n createOrder();\n payInvoice();\n } else {\n cy.wait(5000);\n cy.go(-1);\n payInvoice();\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/12-pay-invoice-with-echeck-using-process-payment.js:106:8)","diff":null},"uuid":"2d75eb3b-d2e9-4639-943e-b1227e402f24","parentUUID":"970b9e05-17e3-4773-9de6-b2df3fa2c098","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2d75eb3b-d2e9-4639-943e-b1227e402f24"],"pending":[],"skipped":[],"duration":18055,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9bb17fe8-3e69-485d-bec7-445c606ffa0c","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":"f634a928-2ec7-4cce-b03b-1b2e5c67d7a5","title":"Pay invoice with paypal using process payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given the user is on customer’s details page","fullTitle":"Pay invoice with paypal using process payment Given the user is on customer’s details page","timedOut":null,"duration":12906,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get('.detail-top-btn .btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-item').contains('Process Payment').click({\n force: true\n});\ncy.get('.table > tbody > tr > td').then(function (text) {\n if (text.text() == 'No Unpaid or Overdue invoices found') {\n cy.get('.table > tbody > tr > td').should('contain', 'No Unpaid or Overdue invoices found');\n cy.go(-1);\n createOrder();\n payInvoice();\n } else {\n cy.wait(5000);\n cy.go(-1);\n payInvoice();\n }\n});","err":{"message":"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://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/13-pay-invoice-with-paypal-using-process-payment.js:106:8)","diff":null},"uuid":"7b941455-b304-45b8-86cc-a61ae99a0b18","parentUUID":"f634a928-2ec7-4cce-b03b-1b2e5c67d7a5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7b941455-b304-45b8-86cc-a61ae99a0b18"],"pending":[],"skipped":[],"duration":12906,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a51665a4-3945-440e-a232-0ae4ba56c920","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":"f5178e26-00a5-4d4c-a1bb-f2ff9d5ff68a","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":24043,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"// cy.get('#tab-advance-options').click({force:true})\ncy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.integration-box-item strong').contains('Authorize.Net').click({\n force: true\n});\ncy.wait(8000);\ncy.url().should('contain', '/configure/Authorize.Net');\ncy.wait(5000);\ncy.get('#connect-btn-wrapper button').then(function (ele) {\n if (ele.text().includes('Uninstall Authorize.Net')) {\n cy.get('#tab-connection').should('contain', 'Connection');\n cy.get('#tab-advance-options').should('contain', 'Advanced Options');\n cy.get('#tab-logs').should('contain', 'Logs');\n cy.get('#back-to-payment-gateways').should('contain', 'Back to Payment Gateways');\n cy.get('#uninstall_paymentgateway').should('contain', 'Uninstall Authorize.Net').click({\n force: true\n });\n cy.wait(3000); //Modal appear\n cy.get('.modal-content > .modal-body > .m-0').should('contain', 'Are you sure you want to uninstall?');\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.url().should('contain', '/settings/payment-gateways');\n cy.wait(7000);\n cy.get('.installed-apps .integration-box-item strong').then(function (ele) {\n expect(ele.text()).to.not.eq('Authorize.Net');\n });\n cy.get('.available-integrations-wrapper strong').contains('Authorize.Net').click({\n force: true\n }); // cy.get('.available-integrations-wrapper strong').contains('Authorize.Net').click({ force: true })\n cy.wait(7000);\n cy.url().should('contain', '/configure/Authorize.Net');\n cy.wait(7000);\n integrateAuthorizeNet();\n } else {\n integrateAuthorizeNet();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.integration-box-item strong`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.integration-box-item strong`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/m-payment_gateways/01Integrate_Authorize.Net_using_correct_credentials.spec.js:116:8)","diff":null},"uuid":"65bdaec8-557d-412a-b36e-1ebc5c6d5b1e","parentUUID":"f5178e26-00a5-4d4c-a1bb-f2ff9d5ff68a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["65bdaec8-557d-412a-b36e-1ebc5c6d5b1e"],"pending":[],"skipped":[],"duration":24043,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b47e63e9-7d15-4143-bed5-0aa80733f365","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":"ac7cc58d-01ed-4a75-b264-67c330d6bf84","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":27355,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Authorize.Net').click({\n force: true\n});\ncy.url().should('contain', '/configure/Authorize.Net');\ncy.wait(5000);\ncy.get('#tab-connection').should('contain', 'Connection');\ncy.get('#tab-advance-options').should('contain', 'Advanced Options');\ncy.get('#tab-logs').should('contain', 'Logs');\ncy.get('#back-to-payment-gateways').should('contain', 'Back to Payment Gateways');\ncy.get('#uninstall_paymentgateway').should('contain', 'Uninstall Authorize.Net').click({\n force: true\n});\ncy.wait(3000); //Modal appear\ncy.get('.modal-content > .modal-body > .m-0').should('contain', 'Are you sure you want to uninstall?');\ncy.get('#confirmationModalCancel').click({\n force: true\n});\ncy.wait(1000);\ncy.get('#uninstall_paymentgateway').should('contain', 'Uninstall Authorize.Net'); //Now uninstall it\ncy.get('#uninstall_paymentgateway').should('contain', 'Uninstall Authorize.Net').click({\n force: true\n});\ncy.wait(3000); //Modal appear\ncy.get('.modal-content > .modal-body > .m-0').should('contain', 'Are you sure you want to uninstall?');\ncy.get('#confirmationModalOkay').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(7000);\ncy.get('.installed-apps .integration-box-item strong').then(function (ele) {\n expect(ele.text()).to.not.eq('Authorize.Net');\n}); //\n// After uninstall click on \n// and see the following CTA's\n//\ncy.get('.available-integrations-wrapper strong').contains('Authorize.Net').click({\n force: true\n}); // cy.get('.available-integrations-wrapper strong').contains('Authorize.Net').click({ force: true })\ncy.wait(7000);\ncy.url().should('contain', '/configure/Authorize.Net');\ncy.wait(7000);\ncy.get('.lead > .badge').should('contain', 'Not Connected');\ncy.get('#get-started').click();\ncy.wait(3000);\ncy.get(':nth-child(1) > .col-3 > label').should('contain', 'Login ID');\ncy.get(':nth-child(2) > .col-3 > label').should('contain', 'Transaction Key');\ncy.get(':nth-child(3) > .col-3 > label').should('contain', 'Client Key');\ncy.get(':nth-child(4) > .col-3 > label').should('contain', 'Sandbox');\ncy.get('#btn-test-connection').should('contain', 'Test Connection');\ncy.get('#btn-save').should('contain', 'Save');\ncy.get('#btn-test-connection').should('contain', 'Test Connection').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#toast-container').should('contain', 'One or more required fields are missing.');\ncy.get('.lead > .badge').should('contain', 'Not Connected'); //...\n//\n//Click on Save button\n//\ncy.get('#btn-save').should('contain', 'Save').click().then(function () {\n cy.get('#toast-container').should('contain', 'One or more required fields are missing.');\n});\ncy.get('.lead > .badge').should('contain', 'Not Connected'); //...\n// // When I enter incorrect values in all the fields and press Test Connection\n// // an alert stating the parameters entered are invalid\ncy.get('#login_id').type('6rgf6Cvpg', {\n force: true\n}); //... connect with incorrect\ncy.get('#transaction_key').type('8zV5G45395eXgHmv', {\n force: true\n});\ncy.get('#client_key').type('8gwanze5Sg2Jkm989UBGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#btn-test-connection').should('contain', 'Test Connection').click({\n force: true\n}).then(function () {\n cy.get('#toast-container').should('contain', 'User authentication failed due to invalid authentication values.');\n});\ncy.wait(3000);\ncy.get('.lead > .badge').should('contain', 'Not Connected'); //...\ncy.wait(7000); // When I enter incorrect values in all the fields and press Save\n// an alert stating the parameters entered are invalid\ncy.get('#login_id').type('6rgf6v', {\n force: true\n});\ncy.get('#transaction_key').type('8zV5G4395eXgHmv', {\n force: true\n});\ncy.get('#client_key').type('8gwanze5Sg2Jkm98BGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#btn-save').contains('Save').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#toast-container').should('contain', 'Authentication failed, please verify API credentials and try again!');\ncy.wait(3000);\ncy.get('.lead > .badge').should('contain', 'Not Connected'); //...\n// When I enter an incorrect value in the Login ID field\n// and correct values in other fields\n// And I click “Test Connection”\ncy.get('#login_id').clear({\n force: true\n}).type('6f6v', {\n force: true\n});\ncy.get('#transaction_key').clear({\n force: true\n}).type('8zV5G89395eXgHmv', {\n force: true\n});\ncy.get('#client_key').clear({\n force: true\n}).type('7qwanze5Sg2Jkm989UBGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#sandbox_mode-input').click({\n force: true\n});\ncy.get('#btn-test-connection').should('contain', 'Test Connection').click({\n force: true\n}, {\n timeout: 3000\n}).then(function () {\n cy.get('#toast-container').should('contain', 'User authentication failed due to invalid authentication values.');\n});\ncy.wait(3000);\ncy.get('.lead > .badge').should('contain', 'Not Connected');\ncy.wait(1000); // When I enter an incorrect value in the Login ID field\n// and correct values in other fields\n// And I click “Save”\ncy.get('#login_id').clear({\n force: true\n}).type('6f6v', {\n force: true\n});\ncy.get('#transaction_key').clear({\n force: true\n}).type('8zV5G89395eXgHmv', {\n force: true\n});\ncy.get('#client_key').clear({\n force: true\n}).type('7qwanze5Sg2Jkm989UBGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#sandbox_mode-input').click({\n force: true\n}).click({\n force: true\n});\ncy.get('#btn-save').contains('Save').click({\n force: true\n}, {\n timeout: 3000\n}).then(function () {\n cy.get('#toast-container').should('contain', 'User authentication failed due to invalid authentication values.');\n});\ncy.wait(3000);\ncy.get('.lead > .badge').should('contain', 'Not Connected');\ncy.wait(1000); // When I enter an incorrect value in the Transaction Key field\n// and correct values in other fields\n// And I click “Test Connection”\ncy.get('#login_id').clear({\n force: true\n}).type('64B6Cvpg', {\n force: true\n});\ncy.get('#transaction_key').clear({\n force: true\n}).type('V5G89395eXgHm', {\n force: true\n});\ncy.get('#client_key').clear({\n force: true\n}).type('7qwanze5Sg2Jkm989UBGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#sandbox_mode-input').click({\n force: true\n}).click({\n force: true\n});\ncy.get('#btn-test-connection').should('contain', 'Test Connection').click({\n force: true\n}, {\n timeout: 3000\n}).then(function () {\n cy.get('#toast-container').should('contain', 'User authentication failed due to invalid authentication values.');\n});\ncy.wait(3000);\ncy.get('.lead > .badge').should('contain', 'Not Connected');\ncy.wait(1000); // When I enter an incorrect value in the Transaction Key field\n// and correct values in other fields\n// And I click “Save”\ncy.get('#login_id').clear({\n force: true\n}).type('64B6Cvpg', {\n force: true\n});\ncy.get('#transaction_key').clear({\n force: true\n}).type('V5G89395eXgHm', {\n force: true\n});\ncy.get('#client_key').clear({\n force: true\n}).type('7qwanze5Sg2Jkm989UBGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#sandbox_mode-input').click({\n force: true\n}).click({\n force: true\n});\ncy.get('#btn-save').contains('Save').click({\n force: true\n}).then(function () {\n cy.get('#toast-container').should('contain', 'User authentication failed due to invalid authentication values.');\n});\ncy.wait(3000);\ncy.get('.lead > .badge').should('contain', 'Not Connected');\ncy.wait(1000); // When I enter an incorrect value in the Transaction Key field\n// and correct values in other fields\n// And I click “Test Connection”\ncy.get('#login_id').clear({\n force: true\n}).type('64B6Cvpg', {\n force: true\n});\ncy.get('#transaction_key').clear({\n force: true\n}).type('8zV5G89395eXgHmv', {\n force: true\n});\ncy.get('#client_key').clear({\n force: true\n}).type('333qwanze5Sg2Jkm989GffgdgX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqg', {\n force: true\n});\ncy.get('#sandbox_mode-input').click({\n force: true\n}).click({\n force: true\n});\ncy.get('#btn-test-connection').should('contain', 'Test Connection').click({\n force: true\n}).then(function () {\n cy.get('#toast-container').should('contain', 'Public Client Key required in order to connect with Accept.JS');\n});\ncy.wait(3000);\ncy.get('.lead > .badge').should('contain', 'Not Connected');\ncy.wait(1000); // When I enter an incorrect value in the Transaction Key field\n// and correct values in other fields\n// And I click “Save”\ncy.get('#login_id').clear({\n force: true\n}).type('64B6Cvpg', {\n force: true\n});\ncy.get('#transaction_key').clear({\n force: true\n}).type('8zV5G89395eXgHmv', {\n force: true\n});\ncy.get('#client_key').clear({\n force: true\n}).type('333qwanze5Sg2Jkm989GffgdgX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqg', {\n force: true\n});\ncy.get('#sandbox_mode-input').click({\n force: true\n}).click({\n force: true\n});\ncy.get('#btn-save').contains('Save').click({\n force: true\n}).then(function () {\n cy.get('#toast-container').should('contain', 'Public Client Key required in order to connect with Accept.JS');\n});\ncy.wait(3000);\ncy.get('.lead > .badge').should('contain', 'Not Connected');\ncy.wait(1000); // When I enter correct values but don’t check the “Sandbox” checkbox\n// And I click “Test Connection”\ncy.get('#login_id').clear({\n force: true\n}).type('64B6Cvpg', {\n force: true\n});\ncy.get('#transaction_key').clear({\n force: true\n}).type('8zV5G89395eXgHmv', {\n force: true\n});\ncy.get('#client_key').clear({\n force: true\n}).type('7qwanze5Sg2Jkm989UBGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#sandbox_mode-input').click({\n force: true\n});\ncy.get('#btn-test-connection').should('contain', 'Test Connection').click({\n force: true\n}).then(function () {\n cy.get('#toast-container').should('contain', 'User authentication failed due to invalid authentication values.');\n});\ncy.wait(3000);\ncy.get('.lead > .badge').should('contain', 'Not Connected');\ncy.wait(1000); // When I enter correct values but don’t check the “Sandbox” checkbox\n// And I click “Save”\ncy.get('#login_id').clear({\n force: true\n}).type('64B6Cvpg', {\n force: true\n});\ncy.get('#transaction_key').clear({\n force: true\n}).type('8zV5G89395eXgHmv', {\n force: true\n});\ncy.get('#client_key').clear({\n force: true\n}).type('7qwanze5Sg2Jkm989UBGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#sandbox_mode-input').click({\n force: true\n}).click({\n force: true\n});\ncy.get('#btn-save').contains('Save').click({\n force: true\n}).then(function () {\n cy.get('#toast-container').should('contain', 'User authentication failed due to invalid authentication values.');\n});\ncy.wait(3000);\ncy.get('.lead > .badge').should('contain', 'Not Connected');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.integration-box-item strong`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.integration-box-item strong`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/m-payment_gateways/02Integrate_Authorize.Net_using_incorrect_credentials.spec.js:115:8)","diff":null},"uuid":"14e7fdfa-ab76-4e27-91ae-6e36bb905dc4","parentUUID":"ac7cc58d-01ed-4a75-b264-67c330d6bf84","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["14e7fdfa-ab76-4e27-91ae-6e36bb905dc4"],"pending":[],"skipped":[],"duration":27355,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b81ae0fa-fc79-4ed0-9250-00680e0cdbc0","title":"","fullFile":"cypress/integration/SF/z-logout/logout_spec.js","file":"cypress/integration/SF/z-logout/logout_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8012857b-81ae-4e2c-b4c0-56c51bcfb812","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":8749,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();","err":{},"uuid":"e5e5240f-a148-424c-8c3b-7540421f2a3b","parentUUID":"8012857b-81ae-4e2c-b4c0-56c51bcfb812","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":181,"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":"9ff9b8b7-2e26-4883-a895-4ff2f5d2ee04","parentUUID":"8012857b-81ae-4e2c-b4c0-56c51bcfb812","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":3424,"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":"5ef2c539-c7d7-4bdd-a00d-25e636cfb739","parentUUID":"8012857b-81ae-4e2c-b4c0-56c51bcfb812","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":1590,"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":"8757b17e-a6fc-4948-b322-7e2e01298edf","parentUUID":"8012857b-81ae-4e2c-b4c0-56c51bcfb812","isHook":false,"skipped":false}],"suites":[],"passes":["e5e5240f-a148-424c-8c3b-7540421f2a3b","9ff9b8b7-2e26-4883-a895-4ff2f5d2ee04","5ef2c539-c7d7-4bdd-a00d-25e636cfb739","8757b17e-a6fc-4948-b322-7e2e01298edf"],"failures":[],"pending":[],"skipped":[],"duration":13944,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000}],"meta":{"mocha":{"version":"7.0.1"},"mochawesome":{"options":{"quiet":false,"reportFilename":"mochawesome","saveHtml":false,"saveJson":true,"consoleReporter":"spec","useInlineDiffs":false,"code":true},"version":"6.1.1"},"marge":{"options":{"id":"default","reportDir":"cypress/reports/mocha","quite":true,"overwrite":false,"html":false,"json":true,"pdf":false},"version":"5.1.0"}}}" data-config="{"reportFilename":"report","reportDir":"cypress/reports/mocha-reports","reportTitle":"cypress","reportPageTitle":"Mochawesome Report","inline":false,"inlineAssets":false,"cdn":false,"charts":false,"enableCharts":false,"code":true,"enableCode":true,"autoOpen":false,"overwrite":true,"timestamp":false,"ts":false,"showPassed":true,"showFailed":true,"showPending":true,"showSkipped":false,"showHooks":"failed","saveJson":false,"saveHtml":true,"dev":false,"assetsDir":"cypress/reports/mocha-reports/assets","htmlFile":"/subscription-test2-cases/cypress/cypress/reports/mocha-reports/report.html"}"><div id="report"></div><script src="assets/app.js"></script></body></html>