/
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":18,"pending":0,"failures":297,"start":"2023-01-30T03:10:02.110Z","end":"2023-01-30T03:10:02.110Z","duration":7181401,"testsRegistered":315,"passPercent":5.714285714285714,"pendingPercent":0,"other":0,"hasOther":false,"skipped":0,"hasSkipped":false},"results":[{"uuid":"70a9d253-8357-46bd-8227-cbd6a5ab1958","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":"dfda0589-c8da-46c6-a42f-508dba677778","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":8669,"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":"ec0feca9-70fa-4684-8ebb-06901da5a0b4","parentUUID":"dfda0589-c8da-46c6-a42f-508dba677778","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":4353,"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":"6ff17a4a-b2b8-4ab9-9b38-5432ba41d458","parentUUID":"dfda0589-c8da-46c6-a42f-508dba677778","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the Customer Portal I should see \"Welcome <Username>\" ","timedOut":null,"duration":4295,"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":"acc2a2d4-f22b-4b4f-b820-991836c5ba0d","parentUUID":"dfda0589-c8da-46c6-a42f-508dba677778","isHook":false,"skipped":false}],"suites":[],"passes":["ec0feca9-70fa-4684-8ebb-06901da5a0b4"],"failures":["6ff17a4a-b2b8-4ab9-9b38-5432ba41d458","acc2a2d4-f22b-4b4f-b820-991836c5ba0d"],"pending":[],"skipped":[],"duration":17317,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fa530914-7201-4187-b85e-3861d883926d","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":"1aaa804c-e2e7-41a4-931f-ce8a71c3ed19","title":"Subscription","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Subscription - Create Subscription","fullTitle":"Subscription Subscription - Create Subscription","timedOut":null,"duration":18534,"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":"59a77fb6-01e9-40dd-b5d1-c3b8e7ad425b","parentUUID":"1aaa804c-e2e7-41a4-931f-ce8a71c3ed19","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["59a77fb6-01e9-40dd-b5d1-c3b8e7ad425b"],"pending":[],"skipped":[],"duration":18534,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ed79f7bb-5a98-475c-b936-891713d10c3f","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":"479342a6-f8fd-4738-bee1-218be38a509c","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":18569,"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":"9a275513-a7ae-405c-b4e1-700de12a1ef5","parentUUID":"479342a6-f8fd-4738-bee1-218be38a509c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9a275513-a7ae-405c-b4e1-700de12a1ef5"],"pending":[],"skipped":[],"duration":18569,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7101a79f-15f4-4d0a-8796-bf46e1a8688a","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":"2abbc840-f479-47de-b7e9-6ba07610dfe7","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":13352,"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":"16d75b8c-1f2f-438a-8ffd-cff4496de9a2","parentUUID":"2abbc840-f479-47de-b7e9-6ba07610dfe7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["16d75b8c-1f2f-438a-8ffd-cff4496de9a2"],"pending":[],"skipped":[],"duration":13352,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"66d61113-852b-43e0-90b3-6724c0cb99b8","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":"06081e91-ade7-4dd1-a80d-b6cf983b2a22","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":18335,"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":"d238ec88-2b3e-40ed-af49-e66eefd7d830","parentUUID":"06081e91-ade7-4dd1-a80d-b6cf983b2a22","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d238ec88-2b3e-40ed-af49-e66eefd7d830"],"pending":[],"skipped":[],"duration":18335,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e5ddec8e-7bf0-463b-85d5-18ff35f0ce89","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":"a0382863-ae34-4f3e-96de-356c5c9b6916","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":18608,"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":"07e5792a-444b-43f5-8f97-9d9b7eb50159","parentUUID":"a0382863-ae34-4f3e-96de-356c5c9b6916","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["07e5792a-444b-43f5-8f97-9d9b7eb50159"],"pending":[],"skipped":[],"duration":18608,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"48b5d479-5c32-42d0-8472-c2696aed694c","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":"5975065c-0718-4761-ba93-c8cbcf3a6a53","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":13576,"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":"fb513fd8-2c8a-49d0-b257-92078f2b1e94","parentUUID":"5975065c-0718-4761-ba93-c8cbcf3a6a53","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fb513fd8-2c8a-49d0-b257-92078f2b1e94"],"pending":[],"skipped":[],"duration":13576,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b9bba6e6-4896-496a-9476-0b3de2a98afa","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":"1f225325-8b00-485c-ba8d-023f19f81f51","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":13371,"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":"506840e3-6807-4bdf-b3e4-32fb30f3d03d","parentUUID":"1f225325-8b00-485c-ba8d-023f19f81f51","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["506840e3-6807-4bdf-b3e4-32fb30f3d03d"],"pending":[],"skipped":[],"duration":13371,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3fcedd41-2898-4d3b-975a-0408cac8dfa5","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":"b32b0551-b124-436e-84f0-4d1d9eb9155b","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":16381,"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":"2a3bb0c0-255a-442b-91be-4e6832bac637","parentUUID":"b32b0551-b124-436e-84f0-4d1d9eb9155b","isHook":false,"skipped":false},{"title":"Invoice - Overdue Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Overdue Filter","timedOut":null,"duration":16407,"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":"e926f135-7fa2-4278-b081-ecd6908340c6","parentUUID":"b32b0551-b124-436e-84f0-4d1d9eb9155b","isHook":false,"skipped":false},{"title":"Invoice - Partially Paid Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Partially Paid Filter","timedOut":null,"duration":15342,"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":"0aafc7c9-e988-4b6e-ac9c-2c521e510010","parentUUID":"b32b0551-b124-436e-84f0-4d1d9eb9155b","isHook":false,"skipped":false},{"title":"Invoice - Paid Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Paid Filter","timedOut":null,"duration":15166,"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":"21ee2cde-175d-4ba1-9ba7-5b4842ad5574","parentUUID":"b32b0551-b124-436e-84f0-4d1d9eb9155b","isHook":false,"skipped":false},{"title":"Invoice - Bounced Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Bounced Filter","timedOut":null,"duration":15333,"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":"4906c0bd-881c-43f2-b8c5-7f51ee4e0b18","parentUUID":"b32b0551-b124-436e-84f0-4d1d9eb9155b","isHook":false,"skipped":false},{"title":"Invoice - Void Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Void Filter","timedOut":null,"duration":16790,"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":"fdf670db-9298-474e-87cb-d4b76bdbe47d","parentUUID":"b32b0551-b124-436e-84f0-4d1d9eb9155b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2a3bb0c0-255a-442b-91be-4e6832bac637","e926f135-7fa2-4278-b081-ecd6908340c6","0aafc7c9-e988-4b6e-ac9c-2c521e510010","21ee2cde-175d-4ba1-9ba7-5b4842ad5574","4906c0bd-881c-43f2-b8c5-7f51ee4e0b18","fdf670db-9298-474e-87cb-d4b76bdbe47d"],"pending":[],"skipped":[],"duration":95419,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"aa8a1710-40ff-46dd-9dc4-4633d1812c54","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":"43ef62a3-7851-41bf-8a5d-56a267d628e8","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":65364,"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":"6d04cf41-4447-4958-856e-8dcd80a87b69","parentUUID":"43ef62a3-7851-41bf-8a5d-56a267d628e8","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":19433,"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":"f325c432-1f60-41cd-ab1c-e046b1e50392","parentUUID":"43ef62a3-7851-41bf-8a5d-56a267d628e8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6d04cf41-4447-4958-856e-8dcd80a87b69","f325c432-1f60-41cd-ab1c-e046b1e50392"],"pending":[],"skipped":[],"duration":84797,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"93d0c6bc-4468-41f9-a236-d8b9132995ce","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":"5fc5679c-f45c-4954-a164-213c5769b789","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":59341,"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":"2c7ef24a-beeb-41e4-b4b4-f87e665fe927","parentUUID":"5fc5679c-f45c-4954-a164-213c5769b789","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":19743,"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":"5227d5db-a974-406a-acf9-ee28a8b0218a","parentUUID":"5fc5679c-f45c-4954-a164-213c5769b789","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Credit Card using Stripe (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":16628,"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":"88ffe72f-f0a9-42b6-bf27-a2d3a2ae144d","parentUUID":"5fc5679c-f45c-4954-a164-213c5769b789","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2c7ef24a-beeb-41e4-b4b4-f87e665fe927","5227d5db-a974-406a-acf9-ee28a8b0218a","88ffe72f-f0a9-42b6-bf27-a2d3a2ae144d"],"pending":[],"skipped":[],"duration":95712,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e13771b9-0b5f-4fe7-964e-d77e72b59b42","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":"76aa23b5-6464-4d4e-b6b1-60845556971c","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":15751,"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":"94f6f937-92cc-42c2-9f31-58bb4d74c910","parentUUID":"76aa23b5-6464-4d4e-b6b1-60845556971c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["94f6f937-92cc-42c2-9f31-58bb4d74c910"],"pending":[],"skipped":[],"duration":15751,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8ff79f6a-d980-4bfb-9201-e98fd51e2c24","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":"28bceea0-547c-4c0c-9817-349cecb16ba0","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":74868,"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":"49ef7f5a-d9ee-4506-8621-a200ef0ffbaa","parentUUID":"28bceea0-547c-4c0c-9817-349cecb16ba0","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":20726,"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":"d81c7122-a1d2-4336-a9b5-76524c097c1c","parentUUID":"28bceea0-547c-4c0c-9817-349cecb16ba0","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with credit card using AuthorizeNet (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":15474,"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":"4950a1ea-6a90-4ff4-86e5-8e0fd54f6c80","parentUUID":"28bceea0-547c-4c0c-9817-349cecb16ba0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["49ef7f5a-d9ee-4506-8621-a200ef0ffbaa","d81c7122-a1d2-4336-a9b5-76524c097c1c","4950a1ea-6a90-4ff4-86e5-8e0fd54f6c80"],"pending":[],"skipped":[],"duration":111068,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"46e4eba4-47ae-4750-b863-e039722cb1c0","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":"3b808da8-3ec3-4e43-b71d-3e726e39e2eb","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":55020,"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":"758e5e4b-ad61-4e96-9f52-b243ca0783f2","parentUUID":"3b808da8-3ec3-4e43-b71d-3e726e39e2eb","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":19684,"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":"969123e3-3f00-4e4a-94d4-41ad30fb75d8","parentUUID":"3b808da8-3ec3-4e43-b71d-3e726e39e2eb","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with ACH using AuthorizeNet (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":15621,"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":"f691f0a6-8894-42b6-ba63-36a8555e923f","parentUUID":"3b808da8-3ec3-4e43-b71d-3e726e39e2eb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["758e5e4b-ad61-4e96-9f52-b243ca0783f2","969123e3-3f00-4e4a-94d4-41ad30fb75d8","f691f0a6-8894-42b6-ba63-36a8555e923f"],"pending":[],"skipped":[],"duration":90325,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d000c06a-6d84-44d2-9451-b308b168295c","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":"fc797fda-7e50-449c-8a57-e3229c3ba7f1","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":68645,"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":"2df0735f-9213-49ab-9750-96540a5451f8","parentUUID":"fc797fda-7e50-449c-8a57-e3229c3ba7f1","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":23672,"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":"3e2a6a3d-7c63-4655-a433-074c3959f45a","parentUUID":"fc797fda-7e50-449c-8a57-e3229c3ba7f1","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Paypal Express Checkout Approve (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":15776,"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":"a20df2cc-7eb3-400d-b9db-0307dde4b08e","parentUUID":"fc797fda-7e50-449c-8a57-e3229c3ba7f1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2df0735f-9213-49ab-9750-96540a5451f8","3e2a6a3d-7c63-4655-a433-074c3959f45a","a20df2cc-7eb3-400d-b9db-0307dde4b08e"],"pending":[],"skipped":[],"duration":108093,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"33ae3168-b5f4-4174-8d46-e15f2cc41ffa","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":"9534ea68-3328-4088-92f1-fde6a29407ee","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":59935,"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":"c06a4382-8675-433f-a318-d7280e14de98","parentUUID":"9534ea68-3328-4088-92f1-fde6a29407ee","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":20708,"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":"51c7f4b4-19eb-496a-a58f-88df73df0de9","parentUUID":"9534ea68-3328-4088-92f1-fde6a29407ee","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Paypal Express Checkout Decline (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":15493,"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":"d5d114f4-9857-422d-a4ed-0da68eebddf5","parentUUID":"9534ea68-3328-4088-92f1-fde6a29407ee","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c06a4382-8675-433f-a318-d7280e14de98","51c7f4b4-19eb-496a-a58f-88df73df0de9","d5d114f4-9857-422d-a4ed-0da68eebddf5"],"pending":[],"skipped":[],"duration":96136,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ee69e2dc-deeb-4839-ae54-378d0c7bb924","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":"d9c798ee-92b4-4662-898a-68e633b7a4d2","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":23406,"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":"ec2509fc-7ef9-4de7-90bc-8e6461494c02","parentUUID":"d9c798ee-92b4-4662-898a-68e633b7a4d2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ec2509fc-7ef9-4de7-90bc-8e6461494c02"],"pending":[],"skipped":[],"duration":23406,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d0690db0-294b-40d0-89c1-b5937223ce1c","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":"450c26cc-083d-4362-be7f-2940a1e89c20","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":37375,"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":"c6b34c65-d588-4f44-9e7b-e54a1d474423","parentUUID":"450c26cc-083d-4362-be7f-2940a1e89c20","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c6b34c65-d588-4f44-9e7b-e54a1d474423"],"pending":[],"skipped":[],"duration":37375,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"849e8358-b02c-4cd1-ad60-9e3d01fe5f03","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":"74863a00-63ca-48d2-a48d-eede047eb712","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":37224,"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":"ea294bae-84e5-4698-8a3c-1ce3d5b30ee3","parentUUID":"74863a00-63ca-48d2-a48d-eede047eb712","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ea294bae-84e5-4698-8a3c-1ce3d5b30ee3"],"pending":[],"skipped":[],"duration":37224,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3f9ca657-65b6-4261-8934-6b59567a5ca0","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":"8407b3e9-9825-4795-9e10-3cfcff0d1865","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":24010,"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":"37b926a5-1fa3-4c6f-9241-de445b530fa5","parentUUID":"8407b3e9-9825-4795-9e10-3cfcff0d1865","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["37b926a5-1fa3-4c6f-9241-de445b530fa5"],"pending":[],"skipped":[],"duration":24010,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f63505ef-dd86-43ea-96c9-350a72164a21","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":"9eed605b-466f-4d11-afcd-a02f1375ce39","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":36733,"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":"00f87457-b2ba-48ec-b166-ddbce1e0c938","parentUUID":"9eed605b-466f-4d11-afcd-a02f1375ce39","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["00f87457-b2ba-48ec-b166-ddbce1e0c938"],"pending":[],"skipped":[],"duration":36733,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a96d1053-5d51-4514-b705-3fec37cb3982","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":"4b7fc77a-6163-4a84-b356-a845f0c048f0","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":71564,"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":"031a7e53-e2f8-49d5-94b8-e835bbcc1d03","parentUUID":"4b7fc77a-6163-4a84-b356-a845f0c048f0","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":19511,"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":"e425d26e-90f0-4562-b9d4-5dca6c896554","parentUUID":"4b7fc77a-6163-4a84-b356-a845f0c048f0","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":22229,"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":"06fd3aa8-a683-4697-a148-5bb81e1c4e61","parentUUID":"4b7fc77a-6163-4a84-b356-a845f0c048f0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["031a7e53-e2f8-49d5-94b8-e835bbcc1d03","e425d26e-90f0-4562-b9d4-5dca6c896554","06fd3aa8-a683-4697-a148-5bb81e1c4e61"],"pending":[],"skipped":[],"duration":113304,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"16f51f6b-a3ee-428e-a3dc-351b273d547b","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":"98f590d2-410c-4cd6-8fe0-4b8b49d82742","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":60334,"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":"8d97f33a-b043-4ae8-967e-e5a1e12e84f6","parentUUID":"98f590d2-410c-4cd6-8fe0-4b8b49d82742","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":19403,"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":"ecbd5594-a316-4132-aad1-ee804e9cf39f","parentUUID":"98f590d2-410c-4cd6-8fe0-4b8b49d82742","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8d97f33a-b043-4ae8-967e-e5a1e12e84f6","ecbd5594-a316-4132-aad1-ee804e9cf39f"],"pending":[],"skipped":[],"duration":79737,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"601e2190-4466-452a-9807-cca58ca7d486","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":"51ba4a25-6c11-470a-b11b-0aa06d2c2d53","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":60102,"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":"beaaceab-33eb-4e22-8abe-85aac97601dd","parentUUID":"51ba4a25-6c11-470a-b11b-0aa06d2c2d53","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":19356,"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":"a9bccba1-da9a-4595-8d4f-e2e1f0b47bb0","parentUUID":"51ba4a25-6c11-470a-b11b-0aa06d2c2d53","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["beaaceab-33eb-4e22-8abe-85aac97601dd","a9bccba1-da9a-4595-8d4f-e2e1f0b47bb0"],"pending":[],"skipped":[],"duration":79458,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5befdade-01a1-428f-b3af-6500ad4a6941","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":"61788e20-0c1c-43a4-ae6e-85aa17f788a1","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":71626,"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":"23d913d3-2d29-410c-aaeb-7bbd7e6ca6aa","parentUUID":"61788e20-0c1c-43a4-ae6e-85aa17f788a1","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":19135,"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":"79d08060-aa25-4003-beb3-dc9cd2eb02d1","parentUUID":"61788e20-0c1c-43a4-ae6e-85aa17f788a1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["23d913d3-2d29-410c-aaeb-7bbd7e6ca6aa","79d08060-aa25-4003-beb3-dc9cd2eb02d1"],"pending":[],"skipped":[],"duration":90761,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b6f70022-eb61-49a0-a50a-a880d1eb1512","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":"8f81c217-0bc8-4863-8925-a26a336da0ee","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":60261,"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":"be1351e6-3a65-4ac9-91da-54434e4e7b8d","parentUUID":"8f81c217-0bc8-4863-8925-a26a336da0ee","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":19388,"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":"9346fa88-c1e2-4768-8c71-be8baa1e4d85","parentUUID":"8f81c217-0bc8-4863-8925-a26a336da0ee","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["be1351e6-3a65-4ac9-91da-54434e4e7b8d","9346fa88-c1e2-4768-8c71-be8baa1e4d85"],"pending":[],"skipped":[],"duration":79649,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"958bfc7a-4f02-4ec2-b7f4-bc27516b024b","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":"24668ef4-8dbf-407b-a14d-11c4211a7819","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":80869,"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":"1c490304-c2ad-41c9-87ec-56e56cd85065","parentUUID":"24668ef4-8dbf-407b-a14d-11c4211a7819","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":20705,"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":"152a2e18-6e9a-4ba6-87c4-8acbe34382e7","parentUUID":"24668ef4-8dbf-407b-a14d-11c4211a7819","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1c490304-c2ad-41c9-87ec-56e56cd85065","152a2e18-6e9a-4ba6-87c4-8acbe34382e7"],"pending":[],"skipped":[],"duration":101574,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"05810853-a55c-4f14-aed2-85d810260af0","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":"3348c73d-ab22-42b2-8c16-3619d8b72a05","title":"Update Password","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Update Password","fullTitle":"Update Password Update Password","timedOut":null,"duration":15926,"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":"e498d9fc-28cf-4535-a00c-b2411e25138d","parentUUID":"3348c73d-ab22-42b2-8c16-3619d8b72a05","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":4350,"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":"1b5204ea-a4b0-4890-8c08-5a52ad4d5d9d","parentUUID":"3348c73d-ab22-42b2-8c16-3619d8b72a05","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":7674,"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":"4b998939-c8d3-4d98-a5bd-63e39b09c7da","parentUUID":"3348c73d-ab22-42b2-8c16-3619d8b72a05","isHook":false,"skipped":false},{"title":"Again Update Password","fullTitle":"Update Password Again Update Password","timedOut":null,"duration":16069,"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":"bd5570b5-bcd7-49c6-9d36-cdcd1c4c8c5f","parentUUID":"3348c73d-ab22-42b2-8c16-3619d8b72a05","isHook":false,"skipped":false}],"suites":[],"passes":["4b998939-c8d3-4d98-a5bd-63e39b09c7da"],"failures":["e498d9fc-28cf-4535-a00c-b2411e25138d","1b5204ea-a4b0-4890-8c08-5a52ad4d5d9d","bd5570b5-bcd7-49c6-9d36-cdcd1c4c8c5f"],"pending":[],"skipped":[],"duration":44019,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b78e2951-0a12-46f1-8668-45a1ea98deaa","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":"a6b465dc-a64a-4cae-81b0-5e50e91c7749","title":"Update Password","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Update Password","fullTitle":"Update Password Update Password","timedOut":null,"duration":15779,"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":"1595eb50-4db8-47c5-a645-0f950f0efecb","parentUUID":"a6b465dc-a64a-4cae-81b0-5e50e91c7749","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1595eb50-4db8-47c5-a645-0f950f0efecb"],"pending":[],"skipped":[],"duration":15779,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6884632b-16b7-4cb4-ac38-99ad1e38b739","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":"60887f08-60d8-467c-8b75-a7a6d089213d","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":7328,"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":"76639774-c95e-4193-9d2e-46289bf829bf","parentUUID":"60887f08-60d8-467c-8b75-a7a6d089213d","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":4289,"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":"909dcd8d-1547-4d97-8ffe-325be2c40960","parentUUID":"60887f08-60d8-467c-8b75-a7a6d089213d","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Logout from Customer Portal I should see \"Welcome <Username>\" ","timedOut":null,"duration":4258,"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":"8d047a31-0b09-494c-9b01-d5a7697a684c","parentUUID":"60887f08-60d8-467c-8b75-a7a6d089213d","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":4263,"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":"cabf822f-a9b4-46fe-a53c-1e90106e25f9","parentUUID":"60887f08-60d8-467c-8b75-a7a6d089213d","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":31,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.location('pathname').should('not.include', 'dashboard');","err":{},"uuid":"c131fda3-01dc-4969-96a1-00f55ce74e06","parentUUID":"60887f08-60d8-467c-8b75-a7a6d089213d","isHook":false,"skipped":false}],"suites":[],"passes":["76639774-c95e-4193-9d2e-46289bf829bf","c131fda3-01dc-4969-96a1-00f55ce74e06"],"failures":["909dcd8d-1547-4d97-8ffe-325be2c40960","8d047a31-0b09-494c-9b01-d5a7697a684c","cabf822f-a9b4-46fe-a53c-1e90106e25f9"],"pending":[],"skipped":[],"duration":20169,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5df1dafe-fefa-4494-a313-86ceb5307143","title":"","fullFile":"cypress/integration/seeder/seedo.spec.js","file":"cypress/integration/seeder/seedo.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"491073cb-fb59-4f6d-bd9a-f019e35378d3","title":"Creating multiple customers","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Creating multiple customers","fullTitle":"Creating multiple customers Creating multiple customers","timedOut":null,"duration":24897,"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":"0046f18d-f0e9-4042-b857-f34e1120a986","parentUUID":"491073cb-fb59-4f6d-bd9a-f019e35378d3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0046f18d-f0e9-4042-b857-f34e1120a986"],"pending":[],"skipped":[],"duration":24897,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2035da14-0362-4143-802a-307f37fc7150","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":"0a83ba70-e2d2-4a74-b9d6-c9cdcf5ca3b1","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":1736,"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":"5634244e-93e5-4075-bb61-07e2e1849441","parentUUID":"0a83ba70-e2d2-4a74-b9d6-c9cdcf5ca3b1","isHook":false,"skipped":false}],"suites":[],"passes":["5634244e-93e5-4075-bb61-07e2e1849441"],"failures":[],"pending":[],"skipped":[],"duration":1736,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9cff7893-7a36-4d04-b5d5-5c161654240f","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":"641b6608-0600-4e12-ad64-98a46d6cab8d","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":4108,"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":"657d4f00-71d3-4b78-b177-42e8c19c3ac5","parentUUID":"641b6608-0600-4e12-ad64-98a46d6cab8d","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":3694,"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":"0bbdfddc-2cb7-477f-9a1a-8e49cac9eaff","parentUUID":"641b6608-0600-4e12-ad64-98a46d6cab8d","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":3798,"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":"8c93813e-97be-4a84-8654-abfc8edf95a8","parentUUID":"641b6608-0600-4e12-ad64-98a46d6cab8d","isHook":false,"skipped":false}],"suites":[],"passes":["657d4f00-71d3-4b78-b177-42e8c19c3ac5","0bbdfddc-2cb7-477f-9a1a-8e49cac9eaff","8c93813e-97be-4a84-8654-abfc8edf95a8"],"failures":[],"pending":[],"skipped":[],"duration":11600,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2ed6a8a6-ade3-46ea-8414-01d7f3ac98d3","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":"bfca63b9-5496-4943-a48c-5fce5f2312a8","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":7931,"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":"90af68a2-bfa3-40dc-a69c-abc3d18e1498","parentUUID":"bfca63b9-5496-4943-a48c-5fce5f2312a8","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":73,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.title().should('include', 'SubscriptionFlow - Dashboard');","err":{},"uuid":"a30db178-c190-4d00-98e1-9469ca5e51e6","parentUUID":"bfca63b9-5496-4943-a48c-5fce5f2312a8","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the site I should see \"Welcome <Username>\" ","timedOut":null,"duration":76,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.contains('Welcome');","err":{},"uuid":"4ead6889-dbac-454c-99ac-439e5de3b2c0","parentUUID":"bfca63b9-5496-4943-a48c-5fce5f2312a8","isHook":false,"skipped":false}],"suites":[],"passes":["90af68a2-bfa3-40dc-a69c-abc3d18e1498","a30db178-c190-4d00-98e1-9469ca5e51e6","4ead6889-dbac-454c-99ac-439e5de3b2c0"],"failures":[],"pending":[],"skipped":[],"duration":8080,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"93400318-0f5e-49de-bda1-5e5fd3e72394","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":"35b9c9d3-beb2-438a-9ad1-a6c5230db068","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":5487,"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":"bd3bdc37-98b3-44fa-b956-1d8dc10be6fe","parentUUID":"35b9c9d3-beb2-438a-9ad1-a6c5230db068","isHook":false,"skipped":false}],"suites":[],"passes":["bd3bdc37-98b3-44fa-b956-1d8dc10be6fe"],"failures":[],"pending":[],"skipped":[],"duration":5487,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b169fca7-f67b-4149-8733-7d0fe0c1712b","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":"fa7683d4-2b50-41b0-a6ec-2a924fc91727","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":5026,"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":"96d7e047-6723-4294-b6ed-d23045c7a068","parentUUID":"fa7683d4-2b50-41b0-a6ec-2a924fc91727","isHook":false,"skipped":false}],"suites":[],"passes":["96d7e047-6723-4294-b6ed-d23045c7a068"],"failures":[],"pending":[],"skipped":[],"duration":5026,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"57d5bc2e-201b-4b1e-a2fc-9601dc885903","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":"43cb4139-4c7a-4668-b1e6-fc2a28b8afcc","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":1696,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('.fs--1').click();\ncy.get('h4.text-center').should('contain', 'Reset Password');","err":{"message":"CypressError: `cy.click()` can only be called on a single element. Your subject contained 2 elements. Pass `{ multiple: true }` if you want to serially click each element.\n\nhttps://on.cypress.io/click","estack":"CypressError: `cy.click()` can only be called on a single element. Your subject contained 2 elements. Pass `{ multiple: true }` if you want to serially click each element.\n\nhttps://on.cypress.io/click\n at mouseAction (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:153308:17)\n at Context.click (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:153482:14)\n at Context.<anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:171546:21)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/a-login/6-verify-forgot-password-works.js:102:22)","diff":null},"uuid":"e3471810-096c-411c-887b-cadfdaf7470e","parentUUID":"43cb4139-4c7a-4668-b1e6-fc2a28b8afcc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e3471810-096c-411c-887b-cadfdaf7470e"],"pending":[],"skipped":[],"duration":1696,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e77bff68-ef29-496c-ad61-8e67feb3c577","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":"426356dc-62b0-47bf-9945-7609c7647c5b","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":1755,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('.fs--1').click(); // cy.get('h3.text-center').should('contain', 'Reset Password')\ncy.get('#email').should('be.visible');\ncy.get('.btn').should('contain', 'Send Reset Link');\ncy.get('.btn').should('be.visible');\ncy.get('p small').should('contain', 'Copyright © SubscriptionFlow Inc. All Rights Reserved');\ncy.get('.fs--1 ').should('contain', 'Back to Login').then(function (login) {\n var href = login.prop('href');\n expect(href).to.eq('https://awais.subscriptionflow.com/login');\n});","err":{"message":"CypressError: `cy.click()` can only be called on a single element. Your subject contained 2 elements. Pass `{ multiple: true }` if you want to serially click each element.\n\nhttps://on.cypress.io/click","estack":"CypressError: `cy.click()` can only be called on a single element. Your subject contained 2 elements. Pass `{ multiple: true }` if you want to serially click each element.\n\nhttps://on.cypress.io/click\n at mouseAction (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:153308:17)\n at Context.click (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:153482:14)\n at Context.<anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:171546:21)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/b-forgot-password/1-forgot-password-page.js:102:22)","diff":null},"uuid":"d62a5050-57d9-4243-bb70-16bd9119ee63","parentUUID":"426356dc-62b0-47bf-9945-7609c7647c5b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d62a5050-57d9-4243-bb70-16bd9119ee63"],"pending":[],"skipped":[],"duration":1755,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"950451d1-a261-4f90-ab42-f490f46b2678","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":"1371a4a4-b577-4200-91de-2846f0c87b2f","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":1659,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('.fs--1').click();\ncy.get('#email').type('admin@subscriptionflow.com');\ncy.get('.btn').click();\ncy.get('.alert').should('contain', 'We have e-mailed your password reset link!');\ncy.get('.alert').should('have.css', 'background-color', 'rgb(204, 246, 228)');","err":{"message":"CypressError: `cy.click()` can only be called on a single element. Your subject contained 2 elements. Pass `{ multiple: true }` if you want to serially click each element.\n\nhttps://on.cypress.io/click","estack":"CypressError: `cy.click()` can only be called on a single element. Your subject contained 2 elements. Pass `{ multiple: true }` if you want to serially click each element.\n\nhttps://on.cypress.io/click\n at mouseAction (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:153308:17)\n at Context.click (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:153482:14)\n at Context.<anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:171546:21)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/b-forgot-password/2-forgot-password-with-correct-email.js:102:22)","diff":null},"uuid":"6bea9d84-c9be-47a4-bb18-b06b6824bc04","parentUUID":"1371a4a4-b577-4200-91de-2846f0c87b2f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6bea9d84-c9be-47a4-bb18-b06b6824bc04"],"pending":[],"skipped":[],"duration":1659,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2f4affe1-17d7-4a0f-9325-292a2f93362e","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":"e8c6e076-63ec-46e5-81db-5eb66b12f328","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":1699,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('.fs--1').click();\ncy.get('#email').type('natediaz@gmail.com');\ncy.get('.btn').click();\ncy.get('small').should('contain', 'We can\\'t find a user with that e-mail address.');","err":{"message":"CypressError: `cy.click()` can only be called on a single element. Your subject contained 2 elements. Pass `{ multiple: true }` if you want to serially click each element.\n\nhttps://on.cypress.io/click","estack":"CypressError: `cy.click()` can only be called on a single element. Your subject contained 2 elements. Pass `{ multiple: true }` if you want to serially click each element.\n\nhttps://on.cypress.io/click\n at mouseAction (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:153308:17)\n at Context.click (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:153482:14)\n at Context.<anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:171546:21)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/b-forgot-password/3-forgot-password-with-incorrect-email.js:102:22)","diff":null},"uuid":"cdea13bd-972e-4e1f-95c7-82db479ce76a","parentUUID":"e8c6e076-63ec-46e5-81db-5eb66b12f328","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cdea13bd-972e-4e1f-95c7-82db479ce76a"],"pending":[],"skipped":[],"duration":1699,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7ecd7f93-37d8-4e17-bd01-0af09591cc55","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":"7c02765b-85c2-4871-a3cc-8e0dcf123af1","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":3137,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/password/reset');\ncy.get('.fs--1').click();\ncy.url().should('contains', 'login');","err":{"message":"CypressError: `cy.click()` can only be called on a single element. Your subject contained 2 elements. Pass `{ multiple: true }` if you want to serially click each element.\n\nhttps://on.cypress.io/click","estack":"CypressError: `cy.click()` can only be called on a single element. Your subject contained 2 elements. Pass `{ multiple: true }` if you want to serially click each element.\n\nhttps://on.cypress.io/click\n at mouseAction (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:153308:17)\n at Context.click (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:153482:14)\n at Context.<anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:171546:21)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/b-forgot-password/4-verify-that-the-login-URL-on-forgot-password-page-is-functional.js:102:22)","diff":null},"uuid":"ea5b0b1b-c9d5-4536-8da5-aa9cb6cc4be4","parentUUID":"7c02765b-85c2-4871-a3cc-8e0dcf123af1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ea5b0b1b-c9d5-4536-8da5-aa9cb6cc4be4"],"pending":[],"skipped":[],"duration":3137,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5afaa309-8796-41fc-9eef-a5f79d676767","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":"9c820b65-79e6-4643-b445-af584d8412cd","title":"Dashboard View","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I observe the Dashboard","fullTitle":"Dashboard View I observe the Dashboard","timedOut":null,"duration":9898,"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":"d0802b05-16f8-4bdd-a322-3979f4c31481","parentUUID":"9c820b65-79e6-4643-b445-af584d8412cd","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":4259,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get('#navbarStandard').should('be.visible');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#navbarStandard`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#navbarStandard`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/c-dashboard/1-dashboard_view_spec.js:106:31)","diff":null},"uuid":"6da337c1-df3d-4d44-94f8-df747607a499","parentUUID":"9c820b65-79e6-4643-b445-af584d8412cd","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":4283,"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: 'Modern View' within the element: [ <button.btn.btn-secondary>, 8 more... ] but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Modern View' within the element: [ <button.btn.btn-secondary>, 8 more... ] but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/c-dashboard/1-dashboard_view_spec.js:109:54)","diff":null},"uuid":"2a8563c7-5915-44ac-9543-9707bdd3ca3d","parentUUID":"9c820b65-79e6-4643-b445-af584d8412cd","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":4339,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.scrollTo('bottom', {\n ensureScrollable: true\n});\ncy.get('.no-gutters').should('be.visible');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.no-gutters`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.no-gutters`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/c-dashboard/1-dashboard_view_spec.js:116:27)","diff":null},"uuid":"408627ff-69cf-4aac-99ce-4f30f16958e5","parentUUID":"9c820b65-79e6-4643-b445-af584d8412cd","isHook":false,"skipped":false}],"suites":[],"passes":["d0802b05-16f8-4bdd-a322-3979f4c31481"],"failures":["6da337c1-df3d-4d44-94f8-df747607a499","2a8563c7-5915-44ac-9543-9707bdd3ca3d","408627ff-69cf-4aac-99ce-4f30f16958e5"],"pending":[],"skipped":[],"duration":22779,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"633b21f0-f025-4826-ac54-3596fd2387da","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":"af79efd6-84e5-4955-a7a8-6e39b2922154","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":13274,"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":"8f1d6bb3-1cca-49f9-acfe-ae7b66ee2bb7","parentUUID":"af79efd6-84e5-4955-a7a8-6e39b2922154","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8f1d6bb3-1cca-49f9-acfe-ae7b66ee2bb7"],"pending":[],"skipped":[],"duration":13274,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8ef82053-ffc7-4dde-90ac-2286a7b02489","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":"a3ca316b-c5a0-4210-bebb-8766cad79fb3","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":15385,"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":"b9ee8a79-4a1d-4048-9ee5-68aa19ced11c","parentUUID":"a3ca316b-c5a0-4210-bebb-8766cad79fb3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b9ee8a79-4a1d-4048-9ee5-68aa19ced11c"],"pending":[],"skipped":[],"duration":15385,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6e2a2ef9-bc7e-4b58-9e9d-9755990f6733","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":"f2bf8642-6920-4951-a940-08e73a9c5011","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":14026,"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":"20317757-9f7b-4c8a-b558-39703942c449","parentUUID":"f2bf8642-6920-4951-a940-08e73a9c5011","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["20317757-9f7b-4c8a-b558-39703942c449"],"pending":[],"skipped":[],"duration":14026,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0dc4795a-bd93-4e36-9eb3-38848296fd88","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":"82f7e958-f53f-4db6-85ce-b2d99404c1bd","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":24320,"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":"d980af3d-5340-4394-8039-9565488e6398","parentUUID":"82f7e958-f53f-4db6-85ce-b2d99404c1bd","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":22559,"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":"2ae5f885-9809-476d-a8bb-09eea71dbff4","parentUUID":"82f7e958-f53f-4db6-85ce-b2d99404c1bd","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":22316,"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":"f3a3b9e4-4a87-4f48-85fc-9212b0e8f3c1","parentUUID":"82f7e958-f53f-4db6-85ce-b2d99404c1bd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d980af3d-5340-4394-8039-9565488e6398","2ae5f885-9809-476d-a8bb-09eea71dbff4","f3a3b9e4-4a87-4f48-85fc-9212b0e8f3c1"],"pending":[],"skipped":[],"duration":69195,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"23fd4665-103f-47c0-a4a9-be79c14e39bd","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":"b4df8129-30c8-4704-9010-ec3569854ab8","title":"Delete a contact","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Should delete contacts","fullTitle":"Delete a contact Should delete contacts","timedOut":null,"duration":23592,"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":"72a26e6e-4d7a-46ce-9557-b871a9c9e4ce","parentUUID":"b4df8129-30c8-4704-9010-ec3569854ab8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["72a26e6e-4d7a-46ce-9557-b871a9c9e4ce"],"pending":[],"skipped":[],"duration":23592,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d71867ed-8a6c-4aa1-a7b6-821b74082306","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":"f9395589-2ffc-4aca-9936-932ad6cd22c1","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":23557,"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":"1c5bc183-7a4a-4bd8-96be-1a2046df7db2","parentUUID":"f9395589-2ffc-4aca-9936-932ad6cd22c1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1c5bc183-7a4a-4bd8-96be-1a2046df7db2"],"pending":[],"skipped":[],"duration":23557,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"43da9a33-c8fc-4244-9079-2eca448f23d1","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":"25aebf21-a4ff-4503-9b07-c836f6aa44a9","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":23568,"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":"940ea252-4cc4-4989-afcf-32c24e5288d5","parentUUID":"25aebf21-a4ff-4503-9b07-c836f6aa44a9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["940ea252-4cc4-4989-afcf-32c24e5288d5"],"pending":[],"skipped":[],"duration":23568,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8c6db776-e7f5-41f3-adda-5848f3c44da2","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":"787896a2-4635-45f2-8f4c-dc26136c4f91","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":23136,"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":"ff97ca52-3cf9-48f2-8c60-3966e76d25a8","parentUUID":"787896a2-4635-45f2-8f4c-dc26136c4f91","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ff97ca52-3cf9-48f2-8c60-3966e76d25a8"],"pending":[],"skipped":[],"duration":23136,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"68f28005-49ed-4d5a-8c2d-dffd2a7f27e8","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":"b9857180-f766-4a69-98d6-f9b9c2e85133","title":"Edit Columns","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Edit contacts table columns","fullTitle":"Edit Columns Edit contacts table columns","timedOut":null,"duration":23070,"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":"8730f4dd-598e-498b-87b4-6dd609ee142c","parentUUID":"b9857180-f766-4a69-98d6-f9b9c2e85133","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8730f4dd-598e-498b-87b4-6dd609ee142c"],"pending":[],"skipped":[],"duration":23070,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cfcba572-ff7c-42fb-a35d-d940012c6f50","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":"88d85ff9-c041-4771-aace-ce184730a9e8","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":24840,"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":"4b44992d-53a7-45c6-9eab-103f020c5f52","parentUUID":"88d85ff9-c041-4771-aace-ce184730a9e8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4b44992d-53a7-45c6-9eab-103f020c5f52"],"pending":[],"skipped":[],"duration":24840,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8e428cde-94dc-48fe-8110-636c7f6349d6","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":"65f83bc2-378b-496d-98c3-98eee919aadc","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":28073,"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":"6535c000-62a7-4d58-ba24-e42c7414f3f9","parentUUID":"65f83bc2-378b-496d-98c3-98eee919aadc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6535c000-62a7-4d58-ba24-e42c7414f3f9"],"pending":[],"skipped":[],"duration":28073,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8c015268-fa8b-4ad5-930a-e36c0b570fe3","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":"d8d379c7-30b9-42a2-9233-27a65502d004","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":18806,"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":"90f2971c-b8b7-4808-91c8-f815a8ede664","parentUUID":"d8d379c7-30b9-42a2-9233-27a65502d004","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["90f2971c-b8b7-4808-91c8-f815a8ede664"],"pending":[],"skipped":[],"duration":18806,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c87273da-bb71-4775-a45d-963b71a11020","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":"198dcc10-01f4-4498-ab4f-05896835a840","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":16240,"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":"c70c57b7-4130-420d-9cff-568226a870fc","parentUUID":"198dcc10-01f4-4498-ab4f-05896835a840","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c70c57b7-4130-420d-9cff-568226a870fc"],"pending":[],"skipped":[],"duration":16240,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c25964ba-756e-41a3-ac67-c3f34566e753","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":"3133a211-6983-4cb2-a318-6411d67e10be","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":23375,"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":"df152546-cbf0-4055-bdfa-e007b63ad9c3","parentUUID":"3133a211-6983-4cb2-a318-6411d67e10be","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["df152546-cbf0-4055-bdfa-e007b63ad9c3"],"pending":[],"skipped":[],"duration":23375,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e7abb75f-6bb4-4791-9fbe-12440c29f78c","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":"9213ff99-0f51-45ed-be4f-bed9e6671ced","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":24373,"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":"65604816-b251-4599-8026-34e6a9c8d593","parentUUID":"9213ff99-0f51-45ed-be4f-bed9e6671ced","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["65604816-b251-4599-8026-34e6a9c8d593"],"pending":[],"skipped":[],"duration":24373,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"84d67dfb-1411-4964-9a04-74d4f6a48634","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":"a193d276-fc4b-4cb3-8e74-d83e3f375dd3","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":19640,"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":"4f66ea4a-3d01-43e2-a297-766cfe1204f4","parentUUID":"a193d276-fc4b-4cb3-8e74-d83e3f375dd3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4f66ea4a-3d01-43e2-a297-766cfe1204f4"],"pending":[],"skipped":[],"duration":19640,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"aa96eb3f-f02c-496d-ad6a-6acb174faee1","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":"f64e904a-de26-4c90-9791-40d7f0cb7747","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":24380,"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":"97094860-91f6-411e-a157-0e8ee895900f","parentUUID":"f64e904a-de26-4c90-9791-40d7f0cb7747","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["97094860-91f6-411e-a157-0e8ee895900f"],"pending":[],"skipped":[],"duration":24380,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"38dd3bde-7f3a-4682-9174-bee44ac1b7e1","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":"5e90e2c9-0279-44ca-978a-dad5e3de4187","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":24343,"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":"168fd6c3-7890-40f3-8e70-1de7429d949c","parentUUID":"5e90e2c9-0279-44ca-978a-dad5e3de4187","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["168fd6c3-7890-40f3-8e70-1de7429d949c"],"pending":[],"skipped":[],"duration":24343,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8f432ff5-3497-4635-997a-c3a181d2667d","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":"cb2a0d5d-c4d2-4ac6-871f-77c8a4cecdc8","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":24469,"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":"b0816f4c-6114-419a-b39e-fa55c3db5c25","parentUUID":"cb2a0d5d-c4d2-4ac6-871f-77c8a4cecdc8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b0816f4c-6114-419a-b39e-fa55c3db5c25"],"pending":[],"skipped":[],"duration":24469,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bd3b722e-4dae-473a-b8d1-77ac7910dc39","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":"064640b5-2130-4f39-ac34-13dfdc9cae51","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":29838,"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":"f9adabbc-8735-401a-a150-8c58475d52e0","parentUUID":"064640b5-2130-4f39-ac34-13dfdc9cae51","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f9adabbc-8735-401a-a150-8c58475d52e0"],"pending":[],"skipped":[],"duration":29838,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"faa26897-0181-4938-b3a4-3ef2e70203c5","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":"619ec6a9-9e1b-4d23-91c5-688e4d1201ee","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":24351,"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":"d7fdc1e8-ae60-4012-9e05-2085db5e26f8","parentUUID":"619ec6a9-9e1b-4d23-91c5-688e4d1201ee","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d7fdc1e8-ae60-4012-9e05-2085db5e26f8"],"pending":[],"skipped":[],"duration":24351,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b0904000-d960-4ffe-926c-9e46379ddf6f","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":"19dbfa6f-56c2-4db6-8667-2eb81b6d7507","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":25558,"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":"94620da9-6860-4760-a678-1b0b897d00a8","parentUUID":"19dbfa6f-56c2-4db6-8667-2eb81b6d7507","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["94620da9-6860-4760-a678-1b0b897d00a8"],"pending":[],"skipped":[],"duration":25558,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7ca6dc9e-fb09-4e54-9426-080ea876d587","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":"cacdd00a-51ea-49b9-be6c-b131313c64d9","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":24205,"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":"beea7f2d-bf3f-42cc-ac1c-220d9f2f7374","parentUUID":"cacdd00a-51ea-49b9-be6c-b131313c64d9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["beea7f2d-bf3f-42cc-ac1c-220d9f2f7374"],"pending":[],"skipped":[],"duration":24205,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a14e7ade-cdb1-4779-90f0-9eba78035d4a","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":"ca51b12e-1c5a-40e3-8984-f5bb9b10328a","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":29522,"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":"55a398d5-0ee5-4816-b3cc-3aa7806aa1b3","parentUUID":"ca51b12e-1c5a-40e3-8984-f5bb9b10328a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["55a398d5-0ee5-4816-b3cc-3aa7806aa1b3"],"pending":[],"skipped":[],"duration":29522,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e27ef6a0-c5ff-41cd-b280-d93955c4594d","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":"1f249cf6-38f0-4961-9f4a-79ad26d76846","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":24581,"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":"b021a15b-cb94-45fc-be08-6987e2101aaf","parentUUID":"1f249cf6-38f0-4961-9f4a-79ad26d76846","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b021a15b-cb94-45fc-be08-6987e2101aaf"],"pending":[],"skipped":[],"duration":24581,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"71d7714f-a6c2-4e3c-b972-f36c8427b033","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":"d91cc572-c003-4842-896c-b8bf904e14bb","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":24520,"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":"b3212bcc-e134-4d6f-9dc7-6e3e9562622f","parentUUID":"d91cc572-c003-4842-896c-b8bf904e14bb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b3212bcc-e134-4d6f-9dc7-6e3e9562622f"],"pending":[],"skipped":[],"duration":24520,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0e577a37-04b0-4462-9c6e-68494fed25b6","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":"5642914c-cd87-41fb-af97-1043d39e92dc","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":24093,"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":"58043cb0-b4c4-470f-92c1-4b1056b77809","parentUUID":"5642914c-cd87-41fb-af97-1043d39e92dc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["58043cb0-b4c4-470f-92c1-4b1056b77809"],"pending":[],"skipped":[],"duration":24093,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2b5e1aa5-4ac8-4a57-8535-741932afbc30","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":"6415f4d2-dd15-46df-b307-1ad1fee0d615","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":24278,"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":"b5f5cc4a-c023-462f-93ef-1c02f0f8e928","parentUUID":"6415f4d2-dd15-46df-b307-1ad1fee0d615","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b5f5cc4a-c023-462f-93ef-1c02f0f8e928"],"pending":[],"skipped":[],"duration":24278,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"850b324f-d95b-432f-9494-aa445b8f7144","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":"3b8ea6ee-7ddb-4a9f-b475-861a417515fb","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":24347,"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":"f5396449-e77c-40a3-9233-2a34234b041d","parentUUID":"3b8ea6ee-7ddb-4a9f-b475-861a417515fb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f5396449-e77c-40a3-9233-2a34234b041d"],"pending":[],"skipped":[],"duration":24347,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5030c55b-8a13-4f88-9b86-ef61b842374e","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":"7f2fb3ad-6aac-43f3-8103-73e831b056e6","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":24259,"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":"0409b9ae-3902-4b5f-b453-79dfdac07af6","parentUUID":"7f2fb3ad-6aac-43f3-8103-73e831b056e6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0409b9ae-3902-4b5f-b453-79dfdac07af6"],"pending":[],"skipped":[],"duration":24259,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f2327387-2f2b-4dcc-aa19-39e7fc42e325","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":"d60b03b1-a338-4275-a116-5ab37a044435","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":24930,"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":"78d4a030-477e-4e03-a16b-faa96290e646","parentUUID":"d60b03b1-a338-4275-a116-5ab37a044435","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["78d4a030-477e-4e03-a16b-faa96290e646"],"pending":[],"skipped":[],"duration":24930,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bd778f67-eed4-46c6-963f-bfe290cfcd73","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":"c340f6bf-d5ed-42f4-a3e1-23e30604b0fb","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":24136,"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":"3a4ac560-eeeb-4dcf-a6d7-43a631a44918","parentUUID":"c340f6bf-d5ed-42f4-a3e1-23e30604b0fb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3a4ac560-eeeb-4dcf-a6d7-43a631a44918"],"pending":[],"skipped":[],"duration":24136,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2a729718-bd31-41b1-b245-23c9fde48207","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":"b42f9d4e-331a-489e-baf6-00d888a7c228","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":25346,"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":"0a2e2199-3bff-4306-b712-daec34b55bb3","parentUUID":"b42f9d4e-331a-489e-baf6-00d888a7c228","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0a2e2199-3bff-4306-b712-daec34b55bb3"],"pending":[],"skipped":[],"duration":25346,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d5a11801-3971-4f89-8a5b-9372c94c164e","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":"e048f8f0-1c33-4f4e-b886-b9c3206f92e4","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":24079,"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":"df1dee66-5fe0-49e6-8b69-5913196c44c9","parentUUID":"e048f8f0-1c33-4f4e-b886-b9c3206f92e4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["df1dee66-5fe0-49e6-8b69-5913196c44c9"],"pending":[],"skipped":[],"duration":24079,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"69a4feb7-1b8d-4baa-891e-8f64602c5abf","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":"c650c7b2-947c-4643-9196-bc6d084801b4","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":24090,"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":"664787cb-484a-4f5f-997f-135839983dd1","parentUUID":"c650c7b2-947c-4643-9196-bc6d084801b4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["664787cb-484a-4f5f-997f-135839983dd1"],"pending":[],"skipped":[],"duration":24090,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dbac6628-d07a-48f7-af25-78be5e1b54ed","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":"af8a8439-377c-46da-b671-3a02589a0422","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":13339,"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":"8aa00c95-09a2-4456-a815-36520dcada37","parentUUID":"af8a8439-377c-46da-b671-3a02589a0422","isHook":false,"skipped":false},{"title":"Fill the form and click CTA","fullTitle":"Create product Fill the form and click CTA","timedOut":null,"duration":12379,"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":"1c7dd938-fcc6-467b-b6cc-53cf63565b1c","parentUUID":"af8a8439-377c-46da-b671-3a02589a0422","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":4280,"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":"e9b8c5f3-8912-4b36-b84e-64cd9377f3da","parentUUID":"af8a8439-377c-46da-b671-3a02589a0422","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8aa00c95-09a2-4456-a815-36520dcada37","1c7dd938-fcc6-467b-b6cc-53cf63565b1c","e9b8c5f3-8912-4b36-b84e-64cd9377f3da"],"pending":[],"skipped":[],"duration":29998,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c2c42908-1207-42b5-9c31-4afcfff3c54e","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":"5b4aa00c-77b8-48ec-a4e1-2a55b7a2437e","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":23367,"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":"9c09525c-6434-403a-9d60-92a9b7616641","parentUUID":"5b4aa00c-77b8-48ec-a4e1-2a55b7a2437e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9c09525c-6434-403a-9d60-92a9b7616641"],"pending":[],"skipped":[],"duration":23367,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"018148e8-4e12-4e1c-8ad9-3e2c022ff8f5","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":"9a039851-cb10-4d44-a321-ba170fc8ce09","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":20551,"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":"d21ea479-ce17-4c0d-b464-6e463bf1f719","parentUUID":"9a039851-cb10-4d44-a321-ba170fc8ce09","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d21ea479-ce17-4c0d-b464-6e463bf1f719"],"pending":[],"skipped":[],"duration":20551,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0a6760ee-3a93-4185-b05c-544735aa03b7","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":"31a53942-0f0f-441d-9448-fb193b7b73ba","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":18115,"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":"a7c01eac-ba28-4d6e-a9a5-139b6c9974ae","parentUUID":"31a53942-0f0f-441d-9448-fb193b7b73ba","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a7c01eac-ba28-4d6e-a9a5-139b6c9974ae"],"pending":[],"skipped":[],"duration":18115,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"565107f6-27a8-4fcf-a1cd-918d063d9162","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":"dfe90024-0d42-4c43-ab4d-36b1ef13f0a9","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":22060,"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":"88ac8b4e-838e-401b-86ee-d20b3b423bb0","parentUUID":"dfe90024-0d42-4c43-ab4d-36b1ef13f0a9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["88ac8b4e-838e-401b-86ee-d20b3b423bb0"],"pending":[],"skipped":[],"duration":22060,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"641d2a25-8d67-4aab-bda4-259cccbd3172","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":"62564a40-1f0f-4714-bd89-800f78179527","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":17205,"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":"a9d3b7cf-0c2c-4aa3-8b44-d9640c3af2ce","parentUUID":"62564a40-1f0f-4714-bd89-800f78179527","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a9d3b7cf-0c2c-4aa3-8b44-d9640c3af2ce"],"pending":[],"skipped":[],"duration":17205,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4104dba1-fff3-4db9-872c-eb9d8e269f06","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":"7263ff86-9016-4f69-b3c1-5e77eb77b857","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":17334,"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":"0529e3f7-c981-4d59-9e2e-f216bfbcb0a6","parentUUID":"7263ff86-9016-4f69-b3c1-5e77eb77b857","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0529e3f7-c981-4d59-9e2e-f216bfbcb0a6"],"pending":[],"skipped":[],"duration":17334,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"391751e7-c4ed-4e67-8de2-bc2ce6a84de4","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":"dd4cec8d-c96a-4dcd-9f6c-54fa63b4b423","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":18031,"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":"a64caac9-ce35-4c85-be1b-911e0e14a2a6","parentUUID":"dd4cec8d-c96a-4dcd-9f6c-54fa63b4b423","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a64caac9-ce35-4c85-be1b-911e0e14a2a6"],"pending":[],"skipped":[],"duration":18031,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"eb97c012-55de-4aa5-8cc2-090aefb80941","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":"65e88153-050b-4588-b70b-d3260fa54b8f","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":16638,"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":"01a5bcee-e3ad-45dc-b370-5788e553b15b","parentUUID":"65e88153-050b-4588-b70b-d3260fa54b8f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["01a5bcee-e3ad-45dc-b370-5788e553b15b"],"pending":[],"skipped":[],"duration":16638,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"596d8143-f8ec-4dd9-b37b-0f0b128fbd00","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":"e1a0f247-8fef-4196-bfb1-6586667db398","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":17168,"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":"546e18c3-5af9-4ca4-b2cb-912ea79be60b","parentUUID":"e1a0f247-8fef-4196-bfb1-6586667db398","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["546e18c3-5af9-4ca4-b2cb-912ea79be60b"],"pending":[],"skipped":[],"duration":17168,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"21c396c0-dcb9-4369-8c01-ffebc2ce9c29","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":"4b875597-f344-4886-a207-515e317df295","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":17509,"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":"3170842a-fd8e-4241-9022-927597389d76","parentUUID":"4b875597-f344-4886-a207-515e317df295","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3170842a-fd8e-4241-9022-927597389d76"],"pending":[],"skipped":[],"duration":17509,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6875c491-14d9-4184-b88d-c7837a6de48f","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":"b48ef5fa-2c2d-46d1-a016-0a7770a41a04","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":16650,"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":"16b91ea1-4ef4-48c7-acc6-a5781289d006","parentUUID":"b48ef5fa-2c2d-46d1-a016-0a7770a41a04","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["16b91ea1-4ef4-48c7-acc6-a5781289d006"],"pending":[],"skipped":[],"duration":16650,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7306fbb0-0bde-4261-a094-728c7404ef75","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":"24c2f78d-835a-41ad-85b9-8a45d8fed0bc","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":16656,"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":"12db8d23-78cb-47fe-8a96-665156b9e622","parentUUID":"24c2f78d-835a-41ad-85b9-8a45d8fed0bc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["12db8d23-78cb-47fe-8a96-665156b9e622"],"pending":[],"skipped":[],"duration":16656,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9a29dbc0-9f86-4ff8-a23b-570624a45989","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":"d9586546-9d1b-4a0b-884c-9d014d65a93e","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":20282,"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":"26800bb3-0b34-4cf5-afa7-c294bbef1505","parentUUID":"d9586546-9d1b-4a0b-884c-9d014d65a93e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["26800bb3-0b34-4cf5-afa7-c294bbef1505"],"pending":[],"skipped":[],"duration":20282,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"077ef38d-3af5-4785-b45d-92a99a313353","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":"ce0ab2f5-3610-4592-9d03-71e0321dc4a1","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":16747,"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":"c5ecdc0a-ad87-47b8-a40f-74c4e0dd94af","parentUUID":"ce0ab2f5-3610-4592-9d03-71e0321dc4a1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c5ecdc0a-ad87-47b8-a40f-74c4e0dd94af"],"pending":[],"skipped":[],"duration":16747,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"597cba5a-857b-4c2b-9618-6d5a18c043e3","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":"9e1bdc14-2006-4a48-8fb6-a6523a98b8c5","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":16959,"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":"d0a6ec94-a0d6-43db-a3ee-50b87175725c","parentUUID":"9e1bdc14-2006-4a48-8fb6-a6523a98b8c5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d0a6ec94-a0d6-43db-a3ee-50b87175725c"],"pending":[],"skipped":[],"duration":16959,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b6dfc29e-fdac-4fbd-a5cd-b2ae81b152b1","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":"9ae4d9a0-2e66-4445-99e5-5c51e6b5275b","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":17946,"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":"0dd61474-247f-4199-a683-b51a000625e7","parentUUID":"9ae4d9a0-2e66-4445-99e5-5c51e6b5275b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0dd61474-247f-4199-a683-b51a000625e7"],"pending":[],"skipped":[],"duration":17946,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"758c49e7-be06-4d25-918e-e949cacf8220","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":"ea7bf68a-869b-429c-bc2e-d52fb0ab4853","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":17259,"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":"8b079827-b0ae-459d-8c5e-f94231f047fe","parentUUID":"ea7bf68a-869b-429c-bc2e-d52fb0ab4853","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8b079827-b0ae-459d-8c5e-f94231f047fe"],"pending":[],"skipped":[],"duration":17259,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0665a5b4-99f5-4741-9619-d726e8424c78","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":"5b5490b4-b2c7-4bb3-800f-be206f7546d9","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":16923,"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":"29da03c6-31ef-4639-bab9-c2276a3f28c9","parentUUID":"5b5490b4-b2c7-4bb3-800f-be206f7546d9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["29da03c6-31ef-4639-bab9-c2276a3f28c9"],"pending":[],"skipped":[],"duration":16923,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6bd0dbc3-4b18-4514-b32a-05aab2e71a49","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":"d1ed6993-dfce-46e2-83a8-13731ccb977c","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":18478,"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":"edf6818d-3ff9-43d0-a191-37fca0484176","parentUUID":"d1ed6993-dfce-46e2-83a8-13731ccb977c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["edf6818d-3ff9-43d0-a191-37fca0484176"],"pending":[],"skipped":[],"duration":18478,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"daa51998-b538-4563-aa3f-b736d1b9f093","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":"d3520f23-7b76-4dae-bf85-023eee6c5cd8","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":16643,"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":"16bd5079-1de9-4c9a-ba67-1c67068baf6a","parentUUID":"d3520f23-7b76-4dae-bf85-023eee6c5cd8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["16bd5079-1de9-4c9a-ba67-1c67068baf6a"],"pending":[],"skipped":[],"duration":16643,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9eb40f5a-8c1b-4181-8a3e-255a4232ed15","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":"a49244db-ba26-41aa-985a-48f7fbbb022e","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":16866,"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":"9b60a6d9-ba5d-4f67-8891-9aa484a7c7f8","parentUUID":"a49244db-ba26-41aa-985a-48f7fbbb022e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9b60a6d9-ba5d-4f67-8891-9aa484a7c7f8"],"pending":[],"skipped":[],"duration":16866,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"45593084-f705-4c47-b0b5-cd429819be0c","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":"caa7d308-739c-4f7b-8ad5-bed669ce3d97","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":24493,"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":"d09a9957-0954-4c3b-9a38-98f05d839b24","parentUUID":"caa7d308-739c-4f7b-8ad5-bed669ce3d97","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d09a9957-0954-4c3b-9a38-98f05d839b24"],"pending":[],"skipped":[],"duration":24493,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3d2d8f16-2ff1-4bdd-b232-132157683370","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":"f7a3a0ce-4606-4636-bf78-edc76dd8ae21","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":23122,"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":"5e5533cf-37d4-425c-a200-28044525d83c","parentUUID":"f7a3a0ce-4606-4636-bf78-edc76dd8ae21","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5e5533cf-37d4-425c-a200-28044525d83c"],"pending":[],"skipped":[],"duration":23122,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c36a5171-ff49-44cb-93d4-a0f1f4a77912","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":"3e1bdc52-180a-4c70-ac61-8c6eff7629d7","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":23538,"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":"32f1ed0c-10a4-4c17-b4fd-0446beb8eb2b","parentUUID":"3e1bdc52-180a-4c70-ac61-8c6eff7629d7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["32f1ed0c-10a4-4c17-b4fd-0446beb8eb2b"],"pending":[],"skipped":[],"duration":23538,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8c22b860-ad5b-472b-a039-9a1ab7a5f6ea","title":"","fullFile":"cypress/integration/SF/f-plan/cancel-plan.js","file":"cypress/integration/SF/f-plan/cancel-plan.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"5300bc00-21b4-4e00-b947-8de5d50ec3f1","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":13112,"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":"fcbfae64-ba4f-47dd-8545-23825932652e","parentUUID":"5300bc00-21b4-4e00-b947-8de5d50ec3f1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fcbfae64-ba4f-47dd-8545-23825932652e"],"pending":[],"skipped":[],"duration":13112,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"154a47de-eac7-45c3-89cd-939fcc13502f","title":"","fullFile":"cypress/integration/SF/f-plan/create-plan.js","file":"cypress/integration/SF/f-plan/create-plan.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"fe90fab0-2660-4724-9840-5dad4be42dd8","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":13769,"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":"10f98b62-228c-47cc-b86d-c6769d8119d3","parentUUID":"fe90fab0-2660-4724-9840-5dad4be42dd8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["10f98b62-228c-47cc-b86d-c6769d8119d3"],"pending":[],"skipped":[],"duration":13769,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"405cd587-a2ae-4609-b0e1-c2c89ed3d16e","title":"","fullFile":"cypress/integration/SF/g-coupon/cancel-coupon.js","file":"cypress/integration/SF/g-coupon/cancel-coupon.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ccce084e-cc5c-45af-98fb-3acc34ace1e0","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":14682,"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: 'More' within the element: [ <a.nav-link>, 24 more... ] but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'More' within the element: [ <a.nav-link>, 24 more... ] but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-coupon/cancel-coupon.js:103:25)","diff":null},"uuid":"2b442f32-b568-4ea4-9881-254999f5eab7","parentUUID":"ccce084e-cc5c-45af-98fb-3acc34ace1e0","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":14209,"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: 'More' within the element: [ <a.nav-link>, 24 more... ] but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'More' within the element: [ <a.nav-link>, 24 more... ] but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-coupon/cancel-coupon.js:155:25)","diff":null},"uuid":"af17f770-48e0-4e8b-a4a4-235c3495da80","parentUUID":"ccce084e-cc5c-45af-98fb-3acc34ace1e0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2b442f32-b568-4ea4-9881-254999f5eab7","af17f770-48e0-4e8b-a4a4-235c3495da80"],"pending":[],"skipped":[],"duration":28891,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"08d9ebd4-3f37-42be-8bc1-5e7ff2f8a3a7","title":"","fullFile":"cypress/integration/SF/g-coupon/create-coupon.js","file":"cypress/integration/SF/g-coupon/create-coupon.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ba6f971b-2b74-4b22-a3c0-a16503008376","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":13710,"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":"e4890fa4-7178-45f9-b9e3-888db95b636c","parentUUID":"ba6f971b-2b74-4b22-a3c0-a16503008376","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":12283,"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":"93d9ec1e-2325-4153-9b85-c462387f5ac2","parentUUID":"ba6f971b-2b74-4b22-a3c0-a16503008376","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e4890fa4-7178-45f9-b9e3-888db95b636c","93d9ec1e-2325-4153-9b85-c462387f5ac2"],"pending":[],"skipped":[],"duration":25993,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7fe84663-5b66-45b0-92fb-a1737fb87d13","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":"893a259e-d72a-4819-983a-7bdc6439c198","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":37034,"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: `:nth-child(2) > .nav-link > .ml-auto > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `:nth-child(2) > .nav-link > .ml-auto > .svg-inline--fa > path`, but never found it.\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:112:8)","diff":null},"uuid":"51b323d0-9cd1-4ce3-a7bd-e8c04c72088c","parentUUID":"893a259e-d72a-4819-983a-7bdc6439c198","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":34476,"state":"failed","speed":null,"pass":false,"fail":true,"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":{"message":"AssertionError: Timed out retrying after 4000ms: expected '<tbody#display-notes>' to be 'visible'\n\nThis element `<tbody#display-notes>` is not visible because its parent `<div#notes-tab-container.tab-pane.fade.timeline_max_height>` has CSS property: `display: none`","estack":"AssertionError: Timed out retrying after 4000ms: expected '<tbody#display-notes>' to be 'visible'\n\nThis element `<tbody#display-notes>` is not visible because its parent `<div#notes-tab-container.tab-pane.fade.timeline_max_height>` has CSS property: `display: none`\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:190:41)","diff":null},"uuid":"75cce7d0-e336-4cff-8d36-091864112597","parentUUID":"893a259e-d72a-4819-983a-7bdc6439c198","isHook":false,"skipped":false},{"title":"Delete note, should be deleted successfully","fullTitle":"Add/Edit/Delete Notes Delete note, should be deleted successfully","timedOut":null,"duration":36221,"state":"failed","speed":null,"pass":false,"fail":true,"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":{"message":"AssertionError: Timed out retrying after 4000ms: expected '<tbody#display-notes>' to be 'visible'\n\nThis element `<tbody#display-notes>` is not visible because its parent `<div#notes-tab-container.tab-pane.fade.timeline_max_height>` has CSS property: `display: none`","estack":"AssertionError: Timed out retrying after 4000ms: expected '<tbody#display-notes>' to be 'visible'\n\nThis element `<tbody#display-notes>` is not visible because its parent `<div#notes-tab-container.tab-pane.fade.timeline_max_height>` has CSS property: `display: none`\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:243:41)","diff":null},"uuid":"c75e1d53-5e89-4aaa-b2e1-90ed6afa89d2","parentUUID":"893a259e-d72a-4819-983a-7bdc6439c198","isHook":false,"skipped":false},{"title":"When I write text in the field, and click on Cancel button, the form should not be saved","fullTitle":"Add/Edit/Delete Notes When I write text in the field, and click on Cancel button, the form should not be saved","timedOut":null,"duration":35247,"state":"failed","speed":null,"pass":false,"fail":true,"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":{"message":"AssertionError: Timed out retrying after 4000ms: expected '<button.btn.btn-secondary.mob-btn-import.notes-mob-btn-cancel>' to be 'visible'\n\nThis element `<button.btn.btn-secondary.mob-btn-import.notes-mob-btn-cancel>` is not visible because its parent `<div#notes-tab-container.tab-pane.fade.timeline_max_height>` has CSS property: `display: none`","estack":"AssertionError: Timed out retrying after 4000ms: expected '<button.btn.btn-secondary.mob-btn-import.notes-mob-btn-cancel>' to be 'visible'\n\nThis element `<button.btn.btn-secondary.mob-btn-import.notes-mob-btn-cancel>` is not visible because its parent `<div#notes-tab-container.tab-pane.fade.timeline_max_height>` has CSS property: `display: none`\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:280:29)","diff":null},"uuid":"6f1f7291-ee50-43e2-9d81-44885ea71912","parentUUID":"893a259e-d72a-4819-983a-7bdc6439c198","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["51b323d0-9cd1-4ce3-a7bd-e8c04c72088c","75cce7d0-e336-4cff-8d36-091864112597","c75e1d53-5e89-4aaa-b2e1-90ed6afa89d2","6f1f7291-ee50-43e2-9d81-44885ea71912"],"pending":[],"skipped":[],"duration":142978,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"804bc607-d5fb-40e5-a5a5-c73b1fedfa8a","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":"6e46f823-7167-4563-91d7-50ee68d150da","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":35856,"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: `.card-body > .d-flex > :nth-child(1) > p`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.card-body > .d-flex > :nth-child(1) > p`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/02Customer_Detail_View.spec.js:118:56)","diff":null},"uuid":"8a729ece-096f-4e7f-a6eb-d13053c3d843","parentUUID":"6e46f823-7167-4563-91d7-50ee68d150da","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8a729ece-096f-4e7f-a6eb-d13053c3d843"],"pending":[],"skipped":[],"duration":35856,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0030ed7a-0c45-4596-9f4f-dee0c0781b4a","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":"64ee463a-bbdf-4966-96ce-fc31174ab6b7","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":35548,"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: `.page-title`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.page-title`, but never found it.\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:113:27)","diff":null},"uuid":"bfe0cb1e-e3a0-4a86-b66e-6c9c72a87ede","parentUUID":"64ee463a-bbdf-4966-96ce-fc31174ab6b7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bfe0cb1e-e3a0-4a86-b66e-6c9c72a87ede"],"pending":[],"skipped":[],"duration":35548,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4fc15bbb-2d2e-4f9a-8cd6-6e6a1758f468","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":"052033f3-6c65-48b4-b172-1f6b779ea294","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":35779,"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: `aside[id=\"mySidenav\"] .nav-wrapper ul .related-list > .nav-link`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `aside[id=\"mySidenav\"] .nav-wrapper ul .related-list > .nav-link`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/04Check_Related_List.spec.js:115:8)","diff":null},"uuid":"309fff4c-d6a4-4279-917d-123f1f9aa7f6","parentUUID":"052033f3-6c65-48b4-b172-1f6b779ea294","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["309fff4c-d6a4-4279-917d-123f1f9aa7f6"],"pending":[],"skipped":[],"duration":35779,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0f291ea4-aebe-4489-a902-ca7b934e7a6d","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":"a957e68b-2834-4f03-91cf-672c0936ab41","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":22474,"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":"289e48b2-194e-4bc3-9948-073c40370fe5","parentUUID":"a957e68b-2834-4f03-91cf-672c0936ab41","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["289e48b2-194e-4bc3-9948-073c40370fe5"],"pending":[],"skipped":[],"duration":22474,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"91064420-2ca8-472c-a4e8-542e2825f345","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":"0ba3c2a7-4a70-4f97-a44c-c55deb41e8ef","title":"Privacy Policy","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Verify \"Privacy Policy\" link","fullTitle":"Privacy Policy Verify \"Privacy Policy\" link","timedOut":null,"duration":20546,"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":"e0009d25-f4c4-407d-9f75-226ef4f28358","parentUUID":"0ba3c2a7-4a70-4f97-a44c-c55deb41e8ef","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e0009d25-f4c4-407d-9f75-226ef4f28358"],"pending":[],"skipped":[],"duration":20546,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"709772fd-07b0-40fb-ba41-c5900aef2624","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":"721704e6-43f3-4ca0-868f-bc08e41112cc","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":29146,"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":"f8856fed-04ff-4497-bb2a-acce5c4a70a4","parentUUID":"721704e6-43f3-4ca0-868f-bc08e41112cc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f8856fed-04ff-4497-bb2a-acce5c4a70a4"],"pending":[],"skipped":[],"duration":29146,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3a10a93e-3805-4c6e-99ee-455021b96c9e","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":"34ec7b5b-6851-41f7-acef-bf8c18d6bde3","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":28447,"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: `[href=\"#PaymentMethod-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#PaymentMethod-subpanel`, but never found it.\n at 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:125:10)\nat Array.forEach (<anonymous>)\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:124:14)","diff":null},"uuid":"e8eafebe-8aee-4858-9392-5194b22aa5f3","parentUUID":"34ec7b5b-6851-41f7-acef-bf8c18d6bde3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e8eafebe-8aee-4858-9392-5194b22aa5f3"],"pending":[],"skipped":[],"duration":28447,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b222c9cd-cf13-491e-9426-d755ad70f73f","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":"d3d29bba-5e1a-4e8a-a6d8-65660a5a8a98","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":28215,"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: `[href=\"#PaymentMethod-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#PaymentMethod-subpanel`, but never found it.\n at 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:125:10)\nat Array.forEach (<anonymous>)\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:124:14)","diff":null},"uuid":"81df0abe-3f1e-4c49-9010-fb61f1b67932","parentUUID":"d3d29bba-5e1a-4e8a-a6d8-65660a5a8a98","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["81df0abe-3f1e-4c49-9010-fb61f1b67932"],"pending":[],"skipped":[],"duration":28215,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6f8f988b-3503-48a4-8069-0041b2c8f69b","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":"8519a044-db65-4a46-86fb-a718a4991c4c","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":27369,"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: `[href=\"#PaymentMethod-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#PaymentMethod-subpanel`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/01Add_Payment_CreditCard_AuthorizeNet.spec.js:108:8)","diff":null},"uuid":"6d2281b7-2410-4049-b495-955b016a9751","parentUUID":"8519a044-db65-4a46-86fb-a718a4991c4c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6d2281b7-2410-4049-b495-955b016a9751"],"pending":[],"skipped":[],"duration":27369,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6f406ccb-84bb-4044-8edf-728a38a37bca","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":"d7ac5f2f-8db9-4255-b27d-0f27ef1ae508","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":26593,"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: `.nav-wrapper`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.nav-wrapper`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/02Add_Payment_BankTransfer_AuthorizeNet.spec.js:107:10)","diff":null},"uuid":"dead12fc-45e9-4948-b282-7f01f40e4a14","parentUUID":"d7ac5f2f-8db9-4255-b27d-0f27ef1ae508","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dead12fc-45e9-4948-b282-7f01f40e4a14"],"pending":[],"skipped":[],"duration":26593,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5c7de80a-1c17-48ed-86a6-0aadba1d03d6","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":"901a7766-d24f-48a5-90b9-479e2cdaeab6","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":19433,"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: `#PaymentMethod-subpanel > .card-header > .pull-right > .create-center-modal`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#PaymentMethod-subpanel > .card-header > .pull-right > .create-center-modal`, 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:111:8)","diff":null},"uuid":"8f7afb2e-80b5-4457-947b-2224d32c4f57","parentUUID":"901a7766-d24f-48a5-90b9-479e2cdaeab6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8f7afb2e-80b5-4457-947b-2224d32c4f57"],"pending":[],"skipped":[],"duration":19433,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"271e9e80-928c-4fc1-a2f1-7293abbd844c","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":"5fe089a4-3fcf-4199-b636-26b9d871699b","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":28341,"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: `[href=\"#PaymentMethod-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#PaymentMethod-subpanel`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/04Add_Payment_CreditCard_Stripe.spec.js:108:8)","diff":null},"uuid":"499aac4c-e6b5-47d6-944b-db39eacb25f5","parentUUID":"5fe089a4-3fcf-4199-b636-26b9d871699b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["499aac4c-e6b5-47d6-944b-db39eacb25f5"],"pending":[],"skipped":[],"duration":28341,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e31b6d02-d5c8-4e83-847c-d2d2daa598dc","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":"6d2df3bc-5950-44db-bb9e-348a828cf694","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":27035,"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: `[href=\"#PaymentMethod-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#PaymentMethod-subpanel`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/05Add_Payment_BankTransfer_Stripe.spec.js:111:8)","diff":null},"uuid":"c861ff37-66e6-4475-a750-a6ecb8d7c12a","parentUUID":"6d2df3bc-5950-44db-bb9e-348a828cf694","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c861ff37-66e6-4475-a750-a6ecb8d7c12a"],"pending":[],"skipped":[],"duration":27035,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"67f8f0c2-8b4f-4ce4-a50f-13b0e3f6f45c","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":"9c859f2f-c82c-4c95-b92e-b892db64dbc3","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":28054,"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: `[href=\"#PaymentMethod-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#PaymentMethod-subpanel`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/06Add_Payment_GoCardless.spec.js:108:8)","diff":null},"uuid":"166dab29-6e3d-43bf-982d-6107037334c7","parentUUID":"9c859f2f-c82c-4c95-b92e-b892db64dbc3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["166dab29-6e3d-43bf-982d-6107037334c7"],"pending":[],"skipped":[],"duration":28054,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0caeb971-4aa8-42d6-acc8-3b229df1ec82","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":"26585c25-b15a-4d55-bfdf-ad88001c7a13","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":27343,"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: `[href=\"#PaymentMethod-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#PaymentMethod-subpanel`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/07Add_Payment_PayPalExpress.spec.js:108:8)","diff":null},"uuid":"8db6081c-849c-4277-9e9a-423889814c29","parentUUID":"26585c25-b15a-4d55-bfdf-ad88001c7a13","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8db6081c-849c-4277-9e9a-423889814c29"],"pending":[],"skipped":[],"duration":27343,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6d8f1b2a-4d7a-4307-8ff1-f82129a3a02c","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":"fe8aef70-60b9-4bf7-a58d-d853f036d073","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":27743,"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: `[href=\"#PaymentMethod-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#PaymentMethod-subpanel`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/08Add_Payment_Uncheck_Default.spec.js:108:8)","diff":null},"uuid":"ebd64aa4-01f0-4545-9e32-6259f4656b5e","parentUUID":"fe8aef70-60b9-4bf7-a58d-d853f036d073","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ebd64aa4-01f0-4545-9e32-6259f4656b5e"],"pending":[],"skipped":[],"duration":27743,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0e23274d-abb2-4691-8c6a-3a488069ebdd","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":"fe61fb3e-906d-44f6-9c9c-1be1b6194ebb","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":27030,"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: `[href=\"#PaymentMethod-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#PaymentMethod-subpanel`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/09Cancel_Add_Payment.spec.js:108:8)","diff":null},"uuid":"30ae2c5e-43cf-4cf9-950a-9724430e28af","parentUUID":"fe61fb3e-906d-44f6-9c9c-1be1b6194ebb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["30ae2c5e-43cf-4cf9-950a-9724430e28af"],"pending":[],"skipped":[],"duration":27030,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dd8f1896-9631-4749-90a6-f6bc0cf63a79","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":"50f663df-e596-4f6d-8076-136afc079fa0","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":39962,"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 content: 'Payment Method' within the element: [ <label>, 52 more... ] but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Payment Method' within the element: [ <label>, 52 more... ] but never did.\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:113:65)","diff":null},"uuid":"c91fb4d2-d4c3-42da-8219-46c2f828a5c4","parentUUID":"50f663df-e596-4f6d-8076-136afc079fa0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c91fb4d2-d4c3-42da-8219-46c2f828a5c4"],"pending":[],"skipped":[],"duration":39962,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9de47ea9-a1f4-45d8-a645-7ae30e0b926e","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":"cd63a5ee-3f92-47fa-873a-942eb3bdefb7","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":39367,"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 content: 'Payment Method' within the element: [ <label>, 52 more... ] but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Payment Method' within the element: [ <label>, 52 more... ] but never did.\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:116:65)","diff":null},"uuid":"eced0df9-dbde-4942-8aac-4e84319dfc60","parentUUID":"cd63a5ee-3f92-47fa-873a-942eb3bdefb7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["eced0df9-dbde-4942-8aac-4e84319dfc60"],"pending":[],"skipped":[],"duration":39367,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f5c1e541-289c-42e6-81f3-aa679b061d4a","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":"f2ab96fa-05c2-4b05-9987-cd5a86b0b894","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":39164,"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 content: 'Payment Method' within the element: [ <label>, 52 more... ] but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Payment Method' within the element: [ <label>, 52 more... ] but never did.\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:114:65)","diff":null},"uuid":"b2289056-46e1-4767-9bf9-2a3d21b56440","parentUUID":"f2ab96fa-05c2-4b05-9987-cd5a86b0b894","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b2289056-46e1-4767-9bf9-2a3d21b56440"],"pending":[],"skipped":[],"duration":39164,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a479d725-c3ce-429f-b643-89a04ed64b30","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":"c2de2fea-6777-42d9-8054-64fbdb64c19e","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":26438,"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: `.nav-wrapper`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.nav-wrapper`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/16Add_Payment_BankTransfer_AuthorizeNet.spec.js:108:10)","diff":null},"uuid":"213e1b50-24c5-4e7f-8941-2f03f9788992","parentUUID":"c2de2fea-6777-42d9-8054-64fbdb64c19e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["213e1b50-24c5-4e7f-8941-2f03f9788992"],"pending":[],"skipped":[],"duration":26438,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5198b7d7-a07e-42d2-a1f5-a4632595596c","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":"dea583aa-5937-4af7-94d1-36d6faa28bbf","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":39174,"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 content: 'Payment Method' within the element: [ <label>, 52 more... ] but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Payment Method' within the element: [ <label>, 52 more... ] but never did.\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:113:65)","diff":null},"uuid":"f487c280-4594-4a74-bdc1-128998925d59","parentUUID":"dea583aa-5937-4af7-94d1-36d6faa28bbf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f487c280-4594-4a74-bdc1-128998925d59"],"pending":[],"skipped":[],"duration":39174,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8d2ff0fd-6b23-49aa-8699-3da01acbdfb6","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":"7c92d6d6-5845-403d-acdd-d7218039d00d","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":49110,"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":"5b22c37a-98c9-40bd-9521-17e5fb44a46e","parentUUID":"7c92d6d6-5845-403d-acdd-d7218039d00d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5b22c37a-98c9-40bd-9521-17e5fb44a46e"],"pending":[],"skipped":[],"duration":49110,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9a28e08b-5fe5-48bf-a4fb-e53e2bc643bf","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":"025e9d60-3073-4a7a-a6dd-139eccea7a9e","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":37502,"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":"37036d04-ddb3-4fd4-bd80-59e47307f615","parentUUID":"025e9d60-3073-4a7a-a6dd-139eccea7a9e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["37036d04-ddb3-4fd4-bd80-59e47307f615"],"pending":[],"skipped":[],"duration":37502,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6815914e-68d7-4d71-9da3-e9fbb6989a11","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":"ba3505b4-aea2-4a13-b161-d9d1c97342a8","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":53078,"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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#PaymentMethod-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#PaymentMethod-subpanel`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Public%20Payment%20Method/04Add_Public_Payment_CreditCard_Stripe.spec.js:144:8)","diff":null},"uuid":"fe9d8d03-c550-4d82-a343-5311458ff11d","parentUUID":"ba3505b4-aea2-4a13-b161-d9d1c97342a8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fe9d8d03-c550-4d82-a343-5311458ff11d"],"pending":[],"skipped":[],"duration":53078,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1fcf2426-dbb6-4593-947b-809080813bf0","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":"a09ac94d-3be9-4fd6-be58-f7557a2dce79","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":52427,"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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#PaymentMethod-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#PaymentMethod-subpanel`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Public%20Payment%20Method/05Add_Public_Payment_BankTransfer_Stripe.spec.js:145:8)","diff":null},"uuid":"e548d02b-338f-4d3c-b63c-1f6c7b87cfad","parentUUID":"a09ac94d-3be9-4fd6-be58-f7557a2dce79","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e548d02b-338f-4d3c-b63c-1f6c7b87cfad"],"pending":[],"skipped":[],"duration":52427,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2f1fa514-9367-41a8-b89b-9c64245afd93","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":"348eb46c-649e-4c44-a19f-c9d4a66a31cb","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":52259,"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":"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%20Public%20Payment%20Method/07Add_Public_Payment_PayPalExpress.spec.js:143:10)","diff":null},"uuid":"92ef7c11-21b4-4c50-88ad-48caff771135","parentUUID":"348eb46c-649e-4c44-a19f-c9d4a66a31cb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["92ef7c11-21b4-4c50-88ad-48caff771135"],"pending":[],"skipped":[],"duration":52259,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2c7f72e0-ee72-4ace-a815-8f3bc314c43a","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":"a0e80830-3219-4bc9-ae5a-6f35fb170afb","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":27941,"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: `#auto_charge-input`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#auto_charge-input`, 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:114:8)","diff":null},"uuid":"cdbdda33-d0f6-4000-bd6d-ff3c6514797f","parentUUID":"a0e80830-3219-4bc9-ae5a-6f35fb170afb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cdbdda33-d0f6-4000-bd6d-ff3c6514797f"],"pending":[],"skipped":[],"duration":27941,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c6dcb4a6-674e-44a2-86b6-dd6a33a5211f","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":"16accb79-4c77-4b13-ac50-0c012982d4f0","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":28749,"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: `#auto_charge-input`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#auto_charge-input`, 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:114:8)","diff":null},"uuid":"dbc54eac-410d-43f8-a64a-e523cb170b45","parentUUID":"16accb79-4c77-4b13-ac50-0c012982d4f0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dbc54eac-410d-43f8-a64a-e523cb170b45"],"pending":[],"skipped":[],"duration":28749,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b71fb359-1240-4ea0-bcfb-42a0b6c59e36","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":"a99d87d0-23fd-4a28-804b-7ce01f076c9b","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":28460,"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: `#auto_charge-input`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#auto_charge-input`, 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:114:8)","diff":null},"uuid":"f9f87249-a7ed-491e-b731-091aa913209b","parentUUID":"a99d87d0-23fd-4a28-804b-7ce01f076c9b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f9f87249-a7ed-491e-b731-091aa913209b"],"pending":[],"skipped":[],"duration":28460,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a11379ea-b843-4ce8-a754-1a3e718a8e95","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":"4b765d80-640f-4b74-a8bd-c5d42da7332a","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":30848,"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: `#auto_charge-input`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#auto_charge-input`, 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:114:8)","diff":null},"uuid":"3be51186-c3d7-4a02-93b4-e0ce079bdfc2","parentUUID":"4b765d80-640f-4b74-a8bd-c5d42da7332a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3be51186-c3d7-4a02-93b4-e0ce079bdfc2"],"pending":[],"skipped":[],"duration":30848,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"868e4d11-7827-4d9f-86fc-afc4134c8ff3","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":"ea4e6c0c-d5e5-4e71-8273-4f8efd939e24","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":28919,"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: `#auto_charge-input`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#auto_charge-input`, 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:114:8)","diff":null},"uuid":"f8eeb0f0-fbbf-46d8-9766-e5edf15bcb42","parentUUID":"ea4e6c0c-d5e5-4e71-8273-4f8efd939e24","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f8eeb0f0-fbbf-46d8-9766-e5edf15bcb42"],"pending":[],"skipped":[],"duration":28919,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"738b5519-b5a9-4d91-ae60-5bfde115462a","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":"2b536c9e-a22f-4e65-b6db-d044b3f27470","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":31332,"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: `#auto_charge-input`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#auto_charge-input`, 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:114:8)","diff":null},"uuid":"50aeddf1-f1f1-4c6e-a1fb-3da241dfe71d","parentUUID":"2b536c9e-a22f-4e65-b6db-d044b3f27470","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["50aeddf1-f1f1-4c6e-a1fb-3da241dfe71d"],"pending":[],"skipped":[],"duration":31332,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f35c4025-7633-455c-b5fc-e1088a91c63f","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":"9a2bbdeb-3d5b-459c-a604-68a2fe52b7f6","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":28624,"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: `#auto_charge-input`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#auto_charge-input`, 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:114:8)","diff":null},"uuid":"7bc8d181-b8e6-471a-b38e-9c4b56e734a3","parentUUID":"9a2bbdeb-3d5b-459c-a604-68a2fe52b7f6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7bc8d181-b8e6-471a-b38e-9c4b56e734a3"],"pending":[],"skipped":[],"duration":28624,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2767d2ce-90eb-40da-8436-56dd0a19e40b","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":"482da6c1-5c28-4048-93ba-f0f5dafe2970","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":29040,"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: `#auto_charge-input`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#auto_charge-input`, 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:114:8)","diff":null},"uuid":"56031367-98e6-49dc-b2f6-79d8f9abc1e6","parentUUID":"482da6c1-5c28-4048-93ba-f0f5dafe2970","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["56031367-98e6-49dc-b2f6-79d8f9abc1e6"],"pending":[],"skipped":[],"duration":29040,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2f2f3be5-a086-47ab-aeb8-e63792923ee8","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":"b5b17f24-aedc-446b-a7cf-836eb5488884","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":27944,"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: `#auto_charge-input`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#auto_charge-input`, 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:114:8)","diff":null},"uuid":"6b7415f5-c0ca-4c59-8021-4bad667ecfc2","parentUUID":"b5b17f24-aedc-446b-a7cf-836eb5488884","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6b7415f5-c0ca-4c59-8021-4bad667ecfc2"],"pending":[],"skipped":[],"duration":27944,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4587cee3-7aa5-4f4f-aec9-6edbbb3927d8","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":"e08cb990-2e36-46ca-889b-38d66dd67432","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":29416,"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: `#auto_charge-input`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#auto_charge-input`, 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:114:8)","diff":null},"uuid":"511748d6-fae7-421c-9087-dacc5e3b8f16","parentUUID":"e08cb990-2e36-46ca-889b-38d66dd67432","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["511748d6-fae7-421c-9087-dacc5e3b8f16"],"pending":[],"skipped":[],"duration":29416,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d4a2836d-12d5-4ff5-a13e-ac8b82f755cf","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":"cde0761e-fc97-476c-ba49-59a9cd1882b3","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":28046,"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: `#auto_charge-input`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#auto_charge-input`, 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:114:8)","diff":null},"uuid":"c96c5f2c-663d-4dd6-81e3-1d178455def3","parentUUID":"cde0761e-fc97-476c-ba49-59a9cd1882b3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c96c5f2c-663d-4dd6-81e3-1d178455def3"],"pending":[],"skipped":[],"duration":28046,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"02e5f34e-6a81-4642-ad36-ad2cb36cf02f","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":"80d01a23-e2a2-4115-a050-bc3222c1b057","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":31652,"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: `#auto_charge-input`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#auto_charge-input`, 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:114:8)","diff":null},"uuid":"941b3686-e9a1-477e-b6dc-7ee5c69463e4","parentUUID":"80d01a23-e2a2-4115-a050-bc3222c1b057","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["941b3686-e9a1-477e-b6dc-7ee5c69463e4"],"pending":[],"skipped":[],"duration":31652,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c36d13f6-22b4-47e7-9cb5-a002987e82b6","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":"6b063949-5bbe-450b-b3dc-5611a28f8a52","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":28367,"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: `#auto_charge-input`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#auto_charge-input`, 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:114:8)","diff":null},"uuid":"29dfdfe5-34c0-44e0-b6cc-91689adab64d","parentUUID":"6b063949-5bbe-450b-b3dc-5611a28f8a52","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["29dfdfe5-34c0-44e0-b6cc-91689adab64d"],"pending":[],"skipped":[],"duration":28367,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"136e751e-1d39-44b2-9f31-6ced1530aafc","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":"c6542e05-7031-4edc-8082-dfd685f68b38","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":28341,"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: `#auto_charge-input`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#auto_charge-input`, 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:114:8)","diff":null},"uuid":"3717d19c-8ab4-42bd-95ef-02e964a0e1dc","parentUUID":"c6542e05-7031-4edc-8082-dfd685f68b38","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3717d19c-8ab4-42bd-95ef-02e964a0e1dc"],"pending":[],"skipped":[],"duration":28341,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2de24965-1ef6-40db-b9cc-21c4238294b9","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":"1d0a0057-3ec9-4af2-b7a5-3bed473cd08c","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":28006,"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: `#auto_charge-input`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#auto_charge-input`, 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:114:8)","diff":null},"uuid":"4364e6fd-8c62-4fb4-a0b4-212b93323895","parentUUID":"1d0a0057-3ec9-4af2-b7a5-3bed473cd08c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4364e6fd-8c62-4fb4-a0b4-212b93323895"],"pending":[],"skipped":[],"duration":28006,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"147ff8eb-ae0d-4ca4-bb91-13f7044c8b80","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":"6f56dba1-05d3-4bf5-b866-4c120df68ea6","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":13499,"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":"36f756e2-d462-4303-bf01-11f17b640d72","parentUUID":"6f56dba1-05d3-4bf5-b866-4c120df68ea6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["36f756e2-d462-4303-bf01-11f17b640d72"],"pending":[],"skipped":[],"duration":13499,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3fadd285-5716-43cb-9e15-a9e0f8da3895","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":"4fc292df-aabc-471f-8c96-8a939ffdf86a","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":13235,"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":"2fe232be-803d-4621-b0bf-68566112d4ba","parentUUID":"4fc292df-aabc-471f-8c96-8a939ffdf86a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2fe232be-803d-4621-b0bf-68566112d4ba"],"pending":[],"skipped":[],"duration":13235,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"da699a90-7227-43de-8624-fe8277dfb5e3","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":"9f401ff1-1319-489b-940e-ad427a7f5e1f","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":13506,"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":"11cf8532-6337-4e29-8694-169785379cab","parentUUID":"9f401ff1-1319-489b-940e-ad427a7f5e1f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["11cf8532-6337-4e29-8694-169785379cab"],"pending":[],"skipped":[],"duration":13506,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f40c746b-315f-466f-a663-1cee13b81c0f","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":"767fd76b-6341-420b-9a13-0e3a9827f279","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":13869,"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":"b662ee76-de52-4618-9ce8-915de5f9dff2","parentUUID":"767fd76b-6341-420b-9a13-0e3a9827f279","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b662ee76-de52-4618-9ce8-915de5f9dff2"],"pending":[],"skipped":[],"duration":13869,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7af7ab9b-41cb-4da7-9711-8d0a004dea5d","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":"f7a9b626-f732-41f4-add0-549d254d1e46","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":13428,"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":"bb3022c0-304a-4452-aea3-6f62f406129f","parentUUID":"f7a9b626-f732-41f4-add0-549d254d1e46","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bb3022c0-304a-4452-aea3-6f62f406129f"],"pending":[],"skipped":[],"duration":13428,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"12553828-1831-439d-85ee-6179d211df88","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":"7a2a735b-9e97-4d0e-b777-9858ad7230b5","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":13624,"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":"1dbf3192-cf18-4fb5-9262-a174c23bf79a","parentUUID":"7a2a735b-9e97-4d0e-b777-9858ad7230b5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1dbf3192-cf18-4fb5-9262-a174c23bf79a"],"pending":[],"skipped":[],"duration":13624,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d495ef03-525e-4f57-b86f-727582bf2c0a","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":"42cdbb6d-a4ed-4535-a832-2b9db61b712b","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":13702,"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":"c65a5123-2dc9-4383-b7ea-0a22916594e2","parentUUID":"42cdbb6d-a4ed-4535-a832-2b9db61b712b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c65a5123-2dc9-4383-b7ea-0a22916594e2"],"pending":[],"skipped":[],"duration":13702,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"621b54a5-b0ba-4062-9883-dcc8a8e396b0","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":"fa156238-013b-446b-97a5-149717b75ac7","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":13893,"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":"9f82a786-3292-4c09-81ad-2a7f6cdcbed3","parentUUID":"fa156238-013b-446b-97a5-149717b75ac7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9f82a786-3292-4c09-81ad-2a7f6cdcbed3"],"pending":[],"skipped":[],"duration":13893,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7930747c-d1c3-4966-8cdd-0c9d6d1faec7","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":"292bee41-9116-4d48-9b3b-bd44680f742b","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":13633,"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":"7cfe08f3-20c7-4b07-8166-bc58789fd1a3","parentUUID":"292bee41-9116-4d48-9b3b-bd44680f742b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7cfe08f3-20c7-4b07-8166-bc58789fd1a3"],"pending":[],"skipped":[],"duration":13633,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3e4926b3-6e4f-4d39-99a7-b29a32074225","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":"a3ff080a-14d9-4d41-a1df-c8450028d5b8","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":13733,"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":"3b21997a-c100-45bb-950a-a9b3829cb97e","parentUUID":"a3ff080a-14d9-4d41-a1df-c8450028d5b8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3b21997a-c100-45bb-950a-a9b3829cb97e"],"pending":[],"skipped":[],"duration":13733,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e2619ab5-7b67-4bba-8d2f-51fecfcfbc3a","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":"4d12cbcc-ae6b-4f36-bbf7-0e28ceaeb7b9","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Card","fullTitle":"Process Payment Make payment through Card","timedOut":null,"duration":13658,"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":"d0337ea2-adcd-4765-91d1-dcc4ad8e4eef","parentUUID":"4d12cbcc-ae6b-4f36-bbf7-0e28ceaeb7b9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d0337ea2-adcd-4765-91d1-dcc4ad8e4eef"],"pending":[],"skipped":[],"duration":13658,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4e488286-4869-4d7f-a0e0-4b715bd9eb48","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":"d5668c81-9f84-49f5-8085-2809eccd411a","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through eCheck","fullTitle":"Process Payment Make payment through eCheck","timedOut":null,"duration":14755,"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":"ce4c056f-7f8b-4f1e-b763-4e4c9b844f9f","parentUUID":"d5668c81-9f84-49f5-8085-2809eccd411a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ce4c056f-7f8b-4f1e-b763-4e4c9b844f9f"],"pending":[],"skipped":[],"duration":14755,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"37a342f6-eb66-431c-8023-0f3084a67dd0","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":"15a0a763-8769-4fce-8573-7017aa1470a0","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":13567,"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":"6b9231cc-e3a2-49ea-9bd8-d6cc0c00c6f0","parentUUID":"15a0a763-8769-4fce-8573-7017aa1470a0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6b9231cc-e3a2-49ea-9bd8-d6cc0c00c6f0"],"pending":[],"skipped":[],"duration":13567,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5bf7ac8a-2f97-445f-9fa2-863ad341ec08","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":"7855b9cb-19ea-46bd-9983-ce5ac56c0684","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":13631,"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":"ccc6306d-5891-47bd-b734-dca686de4e2f","parentUUID":"7855b9cb-19ea-46bd-9983-ce5ac56c0684","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ccc6306d-5891-47bd-b734-dca686de4e2f"],"pending":[],"skipped":[],"duration":13631,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ee7bb384-9040-494e-8859-1b3e48d5a61b","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":"8a5b1fec-91c2-44ac-b213-c45bd567bf7e","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":13671,"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":"3dd2c655-8449-432b-a28f-f20fe79771ab","parentUUID":"8a5b1fec-91c2-44ac-b213-c45bd567bf7e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3dd2c655-8449-432b-a28f-f20fe79771ab"],"pending":[],"skipped":[],"duration":13671,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6f292370-ba87-4d4b-ae1e-6dd1e4c02335","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":"a211362b-d3fd-4795-90b0-858d0431e98e","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":36143,"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: `#sidebar-search`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#sidebar-search`, 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:127:31)","diff":null},"uuid":"e77ab006-d35e-413f-b62f-e1919133c281","parentUUID":"a211362b-d3fd-4795-90b0-858d0431e98e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e77ab006-d35e-413f-b62f-e1919133c281"],"pending":[],"skipped":[],"duration":36143,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"20952d6a-ab3c-4295-8f7d-92d38a134656","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":"0045453a-9e46-423e-9a4b-d388b073739c","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":23187,"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":"0fdac828-7494-44e3-b063-8e9988c9dfce","parentUUID":"0045453a-9e46-423e-9a4b-d388b073739c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0fdac828-7494-44e3-b063-8e9988c9dfce"],"pending":[],"skipped":[],"duration":23187,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"85300a84-7053-4630-8ae3-ed52d63f52fe","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":"c68a3cba-95cd-4c29-bcbe-83bd82498481","title":"Delete a customer","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Should delete customers","fullTitle":"Delete a customer Should delete customers","timedOut":null,"duration":23658,"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":"c4593afa-a98e-47d3-ae8c-d659be232f48","parentUUID":"c68a3cba-95cd-4c29-bcbe-83bd82498481","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c4593afa-a98e-47d3-ae8c-d659be232f48"],"pending":[],"skipped":[],"duration":23658,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"84806608-7bc7-4ed3-91c7-7ac4d7914dc9","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":"be0e56d6-108d-4de9-8f0e-4806ba7ff306","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":23108,"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":"c49f2cab-419f-415d-bdf0-4f8a30ad501d","parentUUID":"be0e56d6-108d-4de9-8f0e-4806ba7ff306","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c49f2cab-419f-415d-bdf0-4f8a30ad501d"],"pending":[],"skipped":[],"duration":23108,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ceecc59c-e604-4291-aa08-cccff94acfac","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":"b4f05a52-ef45-4eb1-8813-8ea4bf856797","title":"Clear Selections","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Unselect all selected entries","fullTitle":"Clear Selections Unselect all selected entries","timedOut":null,"duration":24520,"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":"6cd4c459-2d19-41cb-825c-d0f38e73ef15","parentUUID":"b4f05a52-ef45-4eb1-8813-8ea4bf856797","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6cd4c459-2d19-41cb-825c-d0f38e73ef15"],"pending":[],"skipped":[],"duration":24520,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f06a1404-5274-46d5-9c32-1bd399d92a89","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":"efac4f39-9724-4e18-ac3f-73ade5bf0f5f","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":23048,"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":"6fa5bea2-81ea-4427-8302-e7909390a906","parentUUID":"efac4f39-9724-4e18-ac3f-73ade5bf0f5f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6fa5bea2-81ea-4427-8302-e7909390a906"],"pending":[],"skipped":[],"duration":23048,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8d3ce5e6-5807-4fb9-83c2-b2f306d9ea90","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":"ab789a62-12c1-40d7-b7cd-3bf1b13ca2a3","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":23084,"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":"328a612f-65c7-437c-a2a5-debb52e796fe","parentUUID":"ab789a62-12c1-40d7-b7cd-3bf1b13ca2a3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["328a612f-65c7-437c-a2a5-debb52e796fe"],"pending":[],"skipped":[],"duration":23084,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1161a15f-b7f1-4797-9163-8fc035cdb337","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":"d0e68b45-971e-4ba2-b05e-e3e5c1a3b642","title":"Export Customer Data","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Export Customer data","fullTitle":"Export Customer Data Export Customer data","timedOut":null,"duration":20179,"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":"ad3a986a-916a-4c9e-9ae1-a01db51bd7a3","parentUUID":"d0e68b45-971e-4ba2-b05e-e3e5c1a3b642","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ad3a986a-916a-4c9e-9ae1-a01db51bd7a3"],"pending":[],"skipped":[],"duration":20179,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ad1b3c40-0e66-4a63-9072-8b9ecb3afbdd","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":"4283ab19-9f5c-438d-8f87-d1b9ab35463d","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":23167,"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":"9581979e-ab9c-4718-b4db-ff780e8f35d4","parentUUID":"4283ab19-9f5c-438d-8f87-d1b9ab35463d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9581979e-ab9c-4718-b4db-ff780e8f35d4"],"pending":[],"skipped":[],"duration":23167,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b7ce0f3d-c6cb-48a1-ad5b-26bd663ad733","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":"fff5b84a-3f8a-4491-9721-a20e49aed131","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":25458,"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":"96b95979-05fc-4e55-9e16-85419fcaf1e0","parentUUID":"fff5b84a-3f8a-4491-9721-a20e49aed131","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["96b95979-05fc-4e55-9e16-85419fcaf1e0"],"pending":[],"skipped":[],"duration":25458,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f579a40a-648b-4f7f-944f-0197671f631b","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":"af2e3b24-3037-49b5-9195-e48103b1055d","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":23559,"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":"71e7f954-e90d-4719-93b2-73752c45c948","parentUUID":"af2e3b24-3037-49b5-9195-e48103b1055d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["71e7f954-e90d-4719-93b2-73752c45c948"],"pending":[],"skipped":[],"duration":23559,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b1abb080-3f82-4459-b449-0fd7d6bbf0f3","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":"9410a627-9489-4403-8bfc-516fa6bedc5f","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":23899,"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":"95514047-ece7-4eea-8714-a04abd28c122","parentUUID":"9410a627-9489-4403-8bfc-516fa6bedc5f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["95514047-ece7-4eea-8714-a04abd28c122"],"pending":[],"skipped":[],"duration":23899,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9467d5c9-9bbf-42bf-b4cb-a08e3867e6e6","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":"84342c8a-3e27-413e-b32d-dd132d351cb8","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":23708,"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":"cfc8cd1e-3290-443b-b9f1-1f7e5235da1e","parentUUID":"84342c8a-3e27-413e-b32d-dd132d351cb8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cfc8cd1e-3290-443b-b9f1-1f7e5235da1e"],"pending":[],"skipped":[],"duration":23708,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ce70145f-17dd-4def-bfb5-5d0cc55c2669","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":"0a6cdd50-0a50-4acf-86b8-0d3b239956f8","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":23604,"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":"276708d9-24ef-479a-89d3-2e290e864b37","parentUUID":"0a6cdd50-0a50-4acf-86b8-0d3b239956f8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["276708d9-24ef-479a-89d3-2e290e864b37"],"pending":[],"skipped":[],"duration":23604,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cd75a86e-2c3a-403b-aa58-fb2e3b32cc72","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":"2def4342-c0fc-4fcb-a336-b64271327995","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":23542,"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":"2654a2f8-a72d-452e-bfe8-ac70a941f652","parentUUID":"2def4342-c0fc-4fcb-a336-b64271327995","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2654a2f8-a72d-452e-bfe8-ac70a941f652"],"pending":[],"skipped":[],"duration":23542,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5d448388-b80a-4285-93ca-f8659a556638","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":"b16a3411-3eae-4d2a-971c-2bf5c576f1be","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":23550,"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":"93395312-0e42-456c-bd53-9355422f66d0","parentUUID":"b16a3411-3eae-4d2a-971c-2bf5c576f1be","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["93395312-0e42-456c-bd53-9355422f66d0"],"pending":[],"skipped":[],"duration":23550,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fb1fb312-cd61-44ad-a35e-5a7668c6aca2","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":"ff9811a6-62ea-4911-be2c-e3191d4c89b9","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":24507,"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":"ca5c907a-89df-47f7-9f98-cbcf7602f5da","parentUUID":"ff9811a6-62ea-4911-be2c-e3191d4c89b9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ca5c907a-89df-47f7-9f98-cbcf7602f5da"],"pending":[],"skipped":[],"duration":24507,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a261f653-e937-4489-bca5-e89976e38a86","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":"566df86b-0cd4-4967-93f4-34f7316ada95","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":23229,"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":"fded3b82-185e-4ebc-a3c7-6fadc24d94fe","parentUUID":"566df86b-0cd4-4967-93f4-34f7316ada95","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fded3b82-185e-4ebc-a3c7-6fadc24d94fe"],"pending":[],"skipped":[],"duration":23229,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"eed33a6e-dd7c-475e-863b-7fd7d0d568ba","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":"4219152b-339c-4579-b032-1c2ca4600ef9","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":23360,"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":"dac46ba8-a6f6-4773-b59e-f11aae44c4f0","parentUUID":"4219152b-339c-4579-b032-1c2ca4600ef9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dac46ba8-a6f6-4773-b59e-f11aae44c4f0"],"pending":[],"skipped":[],"duration":23360,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"db974357-d03b-4336-ac5f-09eeba1c402a","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":"79c9518a-7020-431c-89a9-cfb9ac2bb64f","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":23064,"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":"533d8b67-f072-4b3c-a308-4a3494fcf6d0","parentUUID":"79c9518a-7020-431c-89a9-cfb9ac2bb64f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["533d8b67-f072-4b3c-a308-4a3494fcf6d0"],"pending":[],"skipped":[],"duration":23064,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c6dcc99c-c27e-4a27-a999-5a780fd94cdc","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":"03422982-1bee-4a3f-8585-fcf7c6ae4644","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":23220,"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":"b966629c-9faf-44d3-869d-a2d9441cd789","parentUUID":"03422982-1bee-4a3f-8585-fcf7c6ae4644","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b966629c-9faf-44d3-869d-a2d9441cd789"],"pending":[],"skipped":[],"duration":23220,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5a728629-c5a8-4128-b970-5bf042fed372","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":"8d9407ae-9a08-4089-be47-053edbbde893","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":24301,"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":"dd125cfe-b1c6-4394-8ac6-27e7d4ee318a","parentUUID":"8d9407ae-9a08-4089-be47-053edbbde893","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dd125cfe-b1c6-4394-8ac6-27e7d4ee318a"],"pending":[],"skipped":[],"duration":24301,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0baa8b25-d2dd-4242-b00e-c8c61c43118d","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":"798b83d5-e2c3-4cfe-b134-e1473d822121","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":23287,"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":"07760295-4efe-48eb-9364-cd3c91a9586d","parentUUID":"798b83d5-e2c3-4cfe-b134-e1473d822121","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["07760295-4efe-48eb-9364-cd3c91a9586d"],"pending":[],"skipped":[],"duration":23287,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"751d0ad9-8e13-46d0-bfd0-15d44baa3253","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":"967595b7-33d3-4fa0-951e-2271f9c4a968","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":24517,"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":"3fce6d5a-0f61-48aa-8c1a-278c87188219","parentUUID":"967595b7-33d3-4fa0-951e-2271f9c4a968","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3fce6d5a-0f61-48aa-8c1a-278c87188219"],"pending":[],"skipped":[],"duration":24517,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b5bf32b5-0c5a-47a6-9d5e-4b1a1c358abb","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":"f61742a1-40a4-4a87-9f56-49d72f90f65a","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":23528,"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":"6f77c32a-e9a3-408b-9cf9-28ea78674ed3","parentUUID":"f61742a1-40a4-4a87-9f56-49d72f90f65a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6f77c32a-e9a3-408b-9cf9-28ea78674ed3"],"pending":[],"skipped":[],"duration":23528,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"519ff8ae-cb53-496b-ba63-6a16522bb57b","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":"a9d2cb6f-9856-45d5-8c97-9d7e778e0609","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":23247,"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":"8001ebe6-a7e5-4c37-94b9-54e303582b2b","parentUUID":"a9d2cb6f-9856-45d5-8c97-9d7e778e0609","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8001ebe6-a7e5-4c37-94b9-54e303582b2b"],"pending":[],"skipped":[],"duration":23247,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c181757f-2590-47c5-8b67-562ffd1484a8","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":"378969ae-2bc4-4bae-b71f-7acbac03495b","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":23245,"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":"2796cb2f-a28d-4bc5-8fd5-090933ecb4e2","parentUUID":"378969ae-2bc4-4bae-b71f-7acbac03495b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2796cb2f-a28d-4bc5-8fd5-090933ecb4e2"],"pending":[],"skipped":[],"duration":23245,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"41dea256-2332-4be5-af91-1e2ba67ac5a1","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":"5ebe8d76-ad9b-4cde-a318-600fd974d299","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":23174,"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":"f62d325d-b827-48a1-a19c-904e07aa8da9","parentUUID":"5ebe8d76-ad9b-4cde-a318-600fd974d299","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f62d325d-b827-48a1-a19c-904e07aa8da9"],"pending":[],"skipped":[],"duration":23174,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e350ed3e-5a20-4eed-aab5-7b7d64fca7b0","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":"79b97004-6be2-491a-b54e-2bd843697e23","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":24256,"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":"ed17f432-71b1-4db6-98de-23e9e5c90e5e","parentUUID":"79b97004-6be2-491a-b54e-2bd843697e23","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ed17f432-71b1-4db6-98de-23e9e5c90e5e"],"pending":[],"skipped":[],"duration":24256,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6af000c1-7d55-49ad-8f9a-66cac5796148","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":"c5f27620-fcf6-4bb1-841b-16fadffb1da8","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":23069,"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":"c7d24874-465f-46fb-8c29-f5274d2e7e6d","parentUUID":"c5f27620-fcf6-4bb1-841b-16fadffb1da8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c7d24874-465f-46fb-8c29-f5274d2e7e6d"],"pending":[],"skipped":[],"duration":23069,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"00456c67-1e02-4f3f-a4a8-c5c225e1696e","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":"53c45aca-80e1-45da-b823-eec8e0a36d29","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":23198,"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":"ab10b220-19bf-4f88-b8be-995d329b8633","parentUUID":"53c45aca-80e1-45da-b823-eec8e0a36d29","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ab10b220-19bf-4f88-b8be-995d329b8633"],"pending":[],"skipped":[],"duration":23198,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e6d89cab-f118-4d75-bd4e-18c322a978a7","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":"8e0b6171-6876-43e5-b702-40b116ca03bc","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":23185,"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":"4d7d1623-93e1-4136-be2f-d558f1ed8ad1","parentUUID":"8e0b6171-6876-43e5-b702-40b116ca03bc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4d7d1623-93e1-4136-be2f-d558f1ed8ad1"],"pending":[],"skipped":[],"duration":23185,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"aa414fb9-50c6-4672-952f-6c1c76a8925c","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":"37e564f4-d07d-48af-81cc-b006bc7ea9ee","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":23291,"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":"bd6ad3ea-e47f-4057-8f93-df2b31db03fb","parentUUID":"37e564f4-d07d-48af-81cc-b006bc7ea9ee","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bd6ad3ea-e47f-4057-8f93-df2b31db03fb"],"pending":[],"skipped":[],"duration":23291,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c8b0eb98-279d-4aa3-934f-3291b6d7f202","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":"8c1a391d-c68d-4226-844f-c749d70582fb","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":24999,"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":"6d4e2fb7-572d-430a-95c5-5d2d82fd99d8","parentUUID":"8c1a391d-c68d-4226-844f-c749d70582fb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6d4e2fb7-572d-430a-95c5-5d2d82fd99d8"],"pending":[],"skipped":[],"duration":24999,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8eab700f-f01a-4e37-8992-f926cd06b92d","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":"e237ee37-eb4e-429f-bcc6-2255a82cf6be","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":23123,"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":"71882c33-573d-4232-a5bb-b7be2f651693","parentUUID":"e237ee37-eb4e-429f-bcc6-2255a82cf6be","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["71882c33-573d-4232-a5bb-b7be2f651693"],"pending":[],"skipped":[],"duration":23123,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c3a7949b-b200-433f-bf9e-6ba20c5de1a3","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":"387d97fe-0c38-48a6-8bdd-09dff78a5692","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":24723,"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":"cbb70ff4-00c5-4b3a-a2fb-9eaf4bffd590","parentUUID":"387d97fe-0c38-48a6-8bdd-09dff78a5692","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cbb70ff4-00c5-4b3a-a2fb-9eaf4bffd590"],"pending":[],"skipped":[],"duration":24723,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1a55d038-57b6-4fa3-9aee-9cb4a5a89a2c","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":"69c404cc-f62d-4bb2-a9c2-ef573fc959f2","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":23222,"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":"4951a3ea-bd46-4d7a-89dd-2a278f5d91db","parentUUID":"69c404cc-f62d-4bb2-a9c2-ef573fc959f2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4951a3ea-bd46-4d7a-89dd-2a278f5d91db"],"pending":[],"skipped":[],"duration":23222,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3ff42e0e-f7b9-499d-8696-7d67991af2d2","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":"158817af-4bb6-419f-90fe-22c92bae04e1","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":23220,"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":"c71e5b19-b30a-45f5-842e-627ceb17cc6f","parentUUID":"158817af-4bb6-419f-90fe-22c92bae04e1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c71e5b19-b30a-45f5-842e-627ceb17cc6f"],"pending":[],"skipped":[],"duration":23220,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1c675584-99df-4dce-96bf-683950ece02e","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":"4495e609-a9e1-4edf-8f90-20755bb6ab98","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":23459,"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":"5bc611e3-9f53-495c-908d-413264e3cf38","parentUUID":"4495e609-a9e1-4edf-8f90-20755bb6ab98","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5bc611e3-9f53-495c-908d-413264e3cf38"],"pending":[],"skipped":[],"duration":23459,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"97251a2f-1633-4de1-a328-e25bc727ac92","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":"5bb32f81-a600-40f7-82dd-c0277b0ecbc0","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":16538,"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":"a40d16a5-5f93-488a-a2f7-fe8a5c6be036","parentUUID":"5bb32f81-a600-40f7-82dd-c0277b0ecbc0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a40d16a5-5f93-488a-a2f7-fe8a5c6be036"],"pending":[],"skipped":[],"duration":16538,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b80d2ebd-11b5-4544-8e5c-8076c6b29a9e","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":"b1cb1db7-02d1-42dd-8cb2-795574a2d4e4","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":18249,"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":"0aa619d6-9454-42a1-aa74-6e886c60db19","parentUUID":"b1cb1db7-02d1-42dd-8cb2-795574a2d4e4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0aa619d6-9454-42a1-aa74-6e886c60db19"],"pending":[],"skipped":[],"duration":18249,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"162120a0-86d9-4936-af0e-9ed85294ea07","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":"55bf1809-ee32-4fa3-b575-33bdcf2afabc","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":17039,"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":"e5c77603-abaa-42c4-ba1a-a29ee26d11ed","parentUUID":"55bf1809-ee32-4fa3-b575-33bdcf2afabc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e5c77603-abaa-42c4-ba1a-a29ee26d11ed"],"pending":[],"skipped":[],"duration":17039,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"be702a62-4fca-4b70-9dae-a1991c2c9261","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":"838fdb3c-69c4-4e75-88d1-67417e8911a6","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":16732,"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":"875e868e-08cf-4e4a-bf37-9270dda10076","parentUUID":"838fdb3c-69c4-4e75-88d1-67417e8911a6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["875e868e-08cf-4e4a-bf37-9270dda10076"],"pending":[],"skipped":[],"duration":16732,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ccc20cca-51e0-4c75-b31f-60a8c18e1d68","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":"844c8baa-d4c6-4877-9b16-cd9e6f94fcc9","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":17766,"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":"cd124239-3fc3-44be-bc46-754ac7a7c71c","parentUUID":"844c8baa-d4c6-4877-9b16-cd9e6f94fcc9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cd124239-3fc3-44be-bc46-754ac7a7c71c"],"pending":[],"skipped":[],"duration":17766,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5e509db7-148c-457e-8a7e-4e0626a76a15","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":"86a13a66-2ff0-4f6d-b1a2-554c3ed170fe","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":16741,"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":"2089c914-6a06-4d46-b71b-8d5e3c54d8f4","parentUUID":"86a13a66-2ff0-4f6d-b1a2-554c3ed170fe","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2089c914-6a06-4d46-b71b-8d5e3c54d8f4"],"pending":[],"skipped":[],"duration":16741,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9d003a1f-aa4d-4d9e-b9d6-b3853e5e193a","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":"deb17530-49ca-4e3d-8f60-acab95b959a0","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":17064,"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":"ffdd5ea9-22cf-42c2-8221-ecdae9cd666d","parentUUID":"deb17530-49ca-4e3d-8f60-acab95b959a0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ffdd5ea9-22cf-42c2-8221-ecdae9cd666d"],"pending":[],"skipped":[],"duration":17064,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"92cf69b8-4133-488b-99ba-7cfdae4e76e9","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":"e7a260f8-cfec-45e9-ad32-ae2303cedeb3","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":18200,"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":"349b9417-8d2a-47f2-89aa-179d855ff469","parentUUID":"e7a260f8-cfec-45e9-ad32-ae2303cedeb3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["349b9417-8d2a-47f2-89aa-179d855ff469"],"pending":[],"skipped":[],"duration":18200,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b0d5a24b-8b95-475b-a92b-c9f9cdac27b9","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":"4f1b76c2-aa2b-4253-b3ce-efac557a162d","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":17217,"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":"a7147d76-7606-46b3-b54b-a36eaed42842","parentUUID":"4f1b76c2-aa2b-4253-b3ce-efac557a162d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a7147d76-7606-46b3-b54b-a36eaed42842"],"pending":[],"skipped":[],"duration":17217,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"75d0aee3-9188-4029-8a6a-5ba68c1d1bdf","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":"46df6748-3c2a-4506-b657-91b179fab0d3","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":17635,"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":"f2d92ab9-bb2a-42b0-8afc-5694bcc526c5","parentUUID":"46df6748-3c2a-4506-b657-91b179fab0d3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f2d92ab9-bb2a-42b0-8afc-5694bcc526c5"],"pending":[],"skipped":[],"duration":17635,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"23ea1b88-606e-4692-aea3-28f33897eab9","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":"6cd0a355-bbdb-44bc-ba12-293e8cfca452","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":18550,"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":"de16cf6e-7416-4192-a778-7ff9925061c6","parentUUID":"6cd0a355-bbdb-44bc-ba12-293e8cfca452","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["de16cf6e-7416-4192-a778-7ff9925061c6"],"pending":[],"skipped":[],"duration":18550,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a5771a9f-b2d2-49ce-a2db-ffd354d905e4","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":"fe31cd96-25f8-4fcf-b319-c793173baa41","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":20534,"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":"3f3b3b71-27c1-4165-8993-88c25c1786ac","parentUUID":"fe31cd96-25f8-4fcf-b319-c793173baa41","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3f3b3b71-27c1-4165-8993-88c25c1786ac"],"pending":[],"skipped":[],"duration":20534,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5b10a25b-6362-4f04-99d9-09f545154d66","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":"7cef3495-cd9a-4f79-88a7-5e8fc6bdf7f1","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":17344,"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":"62d40df8-7e6d-4d34-a027-ba76ef788514","parentUUID":"7cef3495-cd9a-4f79-88a7-5e8fc6bdf7f1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["62d40df8-7e6d-4d34-a027-ba76ef788514"],"pending":[],"skipped":[],"duration":17344,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8b3ecf05-9204-4aed-a49f-7d08ab6c4e08","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":"a36d5408-c8c8-420a-8399-5686f152f1b0","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":20049,"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":"f9e57966-fd3e-4271-b2aa-88b75a5562c2","parentUUID":"a36d5408-c8c8-420a-8399-5686f152f1b0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f9e57966-fd3e-4271-b2aa-88b75a5562c2"],"pending":[],"skipped":[],"duration":20049,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e489683c-2dcf-4cd5-999f-70740ddb1139","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":"eff69627-dc04-4d07-9f30-b818d0b07673","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":23924,"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":"cbc9516d-c17b-4c02-a36c-674ab4b42d19","parentUUID":"eff69627-dc04-4d07-9f30-b818d0b07673","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cbc9516d-c17b-4c02-a36c-674ab4b42d19"],"pending":[],"skipped":[],"duration":23924,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ef6212ad-d62e-4c08-848e-d2ebb067174d","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":"e8118fca-8525-4d7e-9395-2a4307d0d9df","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":23666,"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":"29d913ed-74ce-4bf4-93b0-b18bdc47242b","parentUUID":"e8118fca-8525-4d7e-9395-2a4307d0d9df","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["29d913ed-74ce-4bf4-93b0-b18bdc47242b"],"pending":[],"skipped":[],"duration":23666,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9d34ed44-ca26-4f19-8f84-a9eeba4a3073","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":"cf0acc82-b66f-4121-9ca5-1ea14f2602e8","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":23672,"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":"fb5c0780-3a48-42cc-9b09-7db45c8e4b71","parentUUID":"cf0acc82-b66f-4121-9ca5-1ea14f2602e8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fb5c0780-3a48-42cc-9b09-7db45c8e4b71"],"pending":[],"skipped":[],"duration":23672,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bd96bee5-7afb-406c-96ca-38438dcb2e99","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":"e5c5cf4e-006e-48f3-8d55-039816b73a80","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":23230,"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":"e0488eff-c188-4765-9036-226be6751f5a","parentUUID":"e5c5cf4e-006e-48f3-8d55-039816b73a80","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e0488eff-c188-4765-9036-226be6751f5a"],"pending":[],"skipped":[],"duration":23230,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4d6e4dbe-c846-4a11-8084-576c51ad8aeb","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":"30e626a0-8910-4cdc-973e-12fccf65f40e","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":24656,"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":"6b3f62ee-e38d-41f2-9d2d-11beed4f700a","parentUUID":"30e626a0-8910-4cdc-973e-12fccf65f40e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6b3f62ee-e38d-41f2-9d2d-11beed4f700a"],"pending":[],"skipped":[],"duration":24656,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3299d132-defc-4fc3-a26b-311baa88928e","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":"5d1a73b3-d263-4d3a-a769-cbbf16111c5a","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Cash","fullTitle":"Make Payment Make payment through Cash","timedOut":null,"duration":23524,"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":"685a06d7-a040-4775-b2d9-4e6a3cc8ca87","parentUUID":"5d1a73b3-d263-4d3a-a769-cbbf16111c5a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["685a06d7-a040-4775-b2d9-4e6a3cc8ca87"],"pending":[],"skipped":[],"duration":23524,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"150d8fc4-ce60-4bed-aaa6-24118c117989","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":"f1d9acfd-9d0e-4b63-a530-809055352ce2","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment writeoff","fullTitle":"Make Payment Make payment writeoff","timedOut":null,"duration":23266,"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":"cef03042-50b8-4368-906b-c34e0f64f167","parentUUID":"f1d9acfd-9d0e-4b63-a530-809055352ce2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cef03042-50b8-4368-906b-c34e0f64f167"],"pending":[],"skipped":[],"duration":23266,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"22f6d7aa-1621-40b8-ab5c-895fa025b36e","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":"96739ec6-528f-458d-a463-6029f1c055b4","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":23568,"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":"a958da68-d34e-4fe8-84a3-8743b2596413","parentUUID":"96739ec6-528f-458d-a463-6029f1c055b4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a958da68-d34e-4fe8-84a3-8743b2596413"],"pending":[],"skipped":[],"duration":23568,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d38c9c7d-8055-41eb-8459-acc2c56a965f","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":"c6aceac8-c00c-4f4f-ae32-cf0684a575c4","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":23335,"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":"84d38a05-d2dd-4789-adc4-58e6626953f9","parentUUID":"c6aceac8-c00c-4f4f-ae32-cf0684a575c4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["84d38a05-d2dd-4789-adc4-58e6626953f9"],"pending":[],"skipped":[],"duration":23335,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"73640b3b-eafc-44da-b6ca-57f62503a926","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":"c30946d4-175c-4338-90c0-5856e1738688","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":23438,"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":"1d499f0f-94b2-445e-b1d6-3918113d0612","parentUUID":"c30946d4-175c-4338-90c0-5856e1738688","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1d499f0f-94b2-445e-b1d6-3918113d0612"],"pending":[],"skipped":[],"duration":23438,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"314a47dd-94a4-4e4f-99d2-ec9d394d6696","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":"a8658868-2623-4caa-8ddc-0d4c6f888729","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":23197,"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":"7062db02-b9bf-45d3-8ed1-68b4ea0a0465","parentUUID":"a8658868-2623-4caa-8ddc-0d4c6f888729","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7062db02-b9bf-45d3-8ed1-68b4ea0a0465"],"pending":[],"skipped":[],"duration":23197,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9b6e7a01-6224-45e5-9e8c-2ba06997b4d9","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":"47cd291f-8714-4b3b-933d-56e26afad01f","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":24500,"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":"913b2cd8-00cd-41e3-86d8-7d12d7cab777","parentUUID":"47cd291f-8714-4b3b-933d-56e26afad01f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["913b2cd8-00cd-41e3-86d8-7d12d7cab777"],"pending":[],"skipped":[],"duration":24500,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7eeaed9a-1c17-4379-b930-cb99b98f56a9","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":"dc46a936-4649-4936-9974-606ba5e0148c","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":23222,"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":"559784e1-0b4f-491f-b10b-5caf8e8b2075","parentUUID":"dc46a936-4649-4936-9974-606ba5e0148c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["559784e1-0b4f-491f-b10b-5caf8e8b2075"],"pending":[],"skipped":[],"duration":23222,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a9cf2487-67d3-49d7-bd5e-72057c39c9c1","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":"b4c4642d-65bf-473e-922b-f902b0a5d584","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":23312,"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":"0b196930-09bc-4dbf-8842-394cf7b9c014","parentUUID":"b4c4642d-65bf-473e-922b-f902b0a5d584","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0b196930-09bc-4dbf-8842-394cf7b9c014"],"pending":[],"skipped":[],"duration":23312,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f748645a-4edc-448f-b2e1-a6b456ffb8e9","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":"dfc1733a-a255-45e8-a310-92da1da710bc","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Card","fullTitle":"Make Payment Make payment through Card","timedOut":null,"duration":23364,"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":"8f1763a8-5116-4cff-abff-c83fc2e540c7","parentUUID":"dfc1733a-a255-45e8-a310-92da1da710bc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8f1763a8-5116-4cff-abff-c83fc2e540c7"],"pending":[],"skipped":[],"duration":23364,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7122ac4a-d149-4582-9780-b258c5cd4525","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":"028d0843-7427-428f-aca8-2ce97380afe2","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through eCheck","fullTitle":"Make Payment Make payment through eCheck","timedOut":null,"duration":23358,"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":"96524baa-36c1-40d5-9c90-bc37f1372e97","parentUUID":"028d0843-7427-428f-aca8-2ce97380afe2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["96524baa-36c1-40d5-9c90-bc37f1372e97"],"pending":[],"skipped":[],"duration":23358,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4057767f-38ff-4ccd-aa43-9527e417bd01","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":"e290457f-203f-4b59-9773-10bdc5a643f4","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through PayPal","fullTitle":"Make Payment Make payment through PayPal","timedOut":null,"duration":24677,"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":"389f985b-2264-4be1-95f1-8a1be79ab42b","parentUUID":"e290457f-203f-4b59-9773-10bdc5a643f4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["389f985b-2264-4be1-95f1-8a1be79ab42b"],"pending":[],"skipped":[],"duration":24677,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8bbaa4b0-96fb-47dc-a3fb-181ac3bc2aac","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":"8c14563c-e5b4-4806-a55e-ea8ce7518829","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":22890,"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":"6b596db8-3d9d-49c7-8f01-80d0562b66cc","parentUUID":"8c14563c-e5b4-4806-a55e-ea8ce7518829","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6b596db8-3d9d-49c7-8f01-80d0562b66cc"],"pending":[],"skipped":[],"duration":22890,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"77c76593-9ad8-42ed-b673-8f74f0ef40f6","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":"780f76e8-dcd1-4185-b38a-8d5a9fb6b7ca","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":23481,"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":"96a1ed96-4beb-44a7-b8df-aaec6e4b3ed1","parentUUID":"780f76e8-dcd1-4185-b38a-8d5a9fb6b7ca","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["96a1ed96-4beb-44a7-b8df-aaec6e4b3ed1"],"pending":[],"skipped":[],"duration":23481,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9ad1caef-0616-4875-8278-1662387424d5","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":"157c32b4-1607-41b3-9c69-5abe4d125a24","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":62425,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/invoices');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n tran2 = tran2.slice(-10, -7);\n var transaction2 = tran2.trim();\n var count = parseInt(transaction1) + 1;\n expect(count).to.eq(parseInt(transaction2));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(function (trans2) {\n var count = 1;\n var transa2 = trans2.text();\n transa2 = transa2.slice(-10, -7);\n transa2 = transa2.trim();\n expect(count).to.eq(parseInt(transa2));\n });\n }\n cy.get('.font-weight-normal.text-sans-serif.text-warning').first().then(function (status) {\n expect(status.text()).to.eq('Paid ');\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<div.dropdown-menu.py-0>` has CSS property: `display: none`","estack":"AssertionError: Timed out retrying after 4000ms: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<div.dropdown-menu.py-0>` has CSS property: `display: none`\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Public%20Checkout/03Public_Checkout_CreditCard_AuthorizNet.spec.js:163:66)","diff":null},"uuid":"0fd571cf-a5b6-4b40-9f05-29cb7a1b9399","parentUUID":"157c32b4-1607-41b3-9c69-5abe4d125a24","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0fd571cf-a5b6-4b40-9f05-29cb7a1b9399"],"pending":[],"skipped":[],"duration":62425,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dea8ec6c-ed38-4b96-9f0a-ae5f8db74525","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":"59d14662-473c-4c18-bfb0-44008ece3034","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":41351,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit(\"https://awais.subscriptionflow.com/en/customers\");\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().click({\n force: true\n });\n});\ncy.get('.pull-right > [data-title=\"New Order\"]').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.get(':nth-child(2) > .custom-control-label').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.get('#display-name-continue').click({\n force: true\n});\ncy.wait(10000);\ncy.visit('https://awais.subscriptionflow.com/en/invoices');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\ncy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n});\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n});\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n});\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n});\ncy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().click({\n force: true\n}); // var i = -1;\n// var j;\n// cy.get('#listViewTableEl thead th').each((element)=>{\n// if((element.text()).includes(\"Total Amount\")){\n// // j = \"[data-sfuniqueid = dataTable__table-td-\" + i +\"] a\";\n// j = i;\n// }\n// else{\n// i = i + 1;\n// }\n// }).then( () => {\n// cy.log(\"j here: \"+j)\n// })\n// .then( function(){\n// var index = 0;\n// cy.get('#listViewTableEl tbody tr').each(()=> {\n// cy.get('#listViewTableEl tbody tr td').eq(j).then(amt=>{\n// var amount = (amt.text()).replace(/[^[0-9.]/g,'');\n// amount = parseInt(amount);\n// if(!(amount > 100)){\n// cy.log(amount)\n// return false;\n// }\n// })\n// index++;\n// }).then( function(){\n// cy.get('#listViewTableEl tbody tr').eq(4).first().click({force:true})\n// })\n// })\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n tran2 = tran2.slice(-10, -7);\n var transaction2 = tran2.trim();\n var count = parseInt(transaction1) + 1;\n expect(count).to.eq(parseInt(transaction2));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(function (trans2) {\n var count = 1;\n var transa2 = trans2.text();\n transa2 = transa2.slice(-10, -7);\n transa2 = transa2.trim();\n expect(count).to.eq(parseInt(transa2));\n });\n }\n cy.get('.font-weight-normal.text-sans-serif.text-warning').first().then(function (status) {\n expect(status.text()).to.eq('Paid ');\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"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/j-invoices/Public%20Checkout/04Public_Checkout_BankTransfer_AuthorizeNet.spec.js:141:10)","diff":null},"uuid":"488acda0-aa95-4a7b-9c71-00efef1f3e44","parentUUID":"59d14662-473c-4c18-bfb0-44008ece3034","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["488acda0-aa95-4a7b-9c71-00efef1f3e44"],"pending":[],"skipped":[],"duration":41351,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"43d6355b-7e4b-4a74-9663-5234b508d65f","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":"678c3d43-1037-4a7e-824b-6d28cedcabef","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":82955,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(20000);\ncy.visit('https://awais.subscriptionflow.com/en/invoices');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n tran2 = tran2.slice(-10, -7);\n var transaction2 = tran2.trim();\n var count = parseInt(transaction1) + 1;\n expect(count).to.eq(parseInt(transaction2));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(function (trans2) {\n var count = 1;\n var transa2 = trans2.text();\n transa2 = transa2.slice(-10, -7);\n transa2 = transa2.trim();\n expect(count).to.eq(parseInt(transa2));\n });\n }\n cy.get('.font-weight-normal.text-sans-serif.text-warning').first().then(function (status) {\n expect(status.text()).to.eq('Paid ');\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<div.dropdown-menu.py-0>` has CSS property: `display: none`","estack":"AssertionError: Timed out retrying after 4000ms: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<div.dropdown-menu.py-0>` has CSS property: `display: none`\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Public%20Checkout/06Public_Checkout_CreditCard_Stripe.spec.js:164:66)","diff":null},"uuid":"81493938-4a3f-46c9-b1b1-9c0bd2e55b71","parentUUID":"678c3d43-1037-4a7e-824b-6d28cedcabef","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["81493938-4a3f-46c9-b1b1-9c0bd2e55b71"],"pending":[],"skipped":[],"duration":82955,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"56746046-7fc1-43da-bdfc-e284d83cbfe2","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":"b5e6500c-1d99-46cc-b96d-bd51a918d7c6","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":23191,"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":"61a17002-7903-444c-9708-a4f081f552e1","parentUUID":"b5e6500c-1d99-46cc-b96d-bd51a918d7c6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["61a17002-7903-444c-9708-a4f081f552e1"],"pending":[],"skipped":[],"duration":23191,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"95038a56-c509-4e47-a105-3805c0477609","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":"45caf636-d65a-449d-9796-e7855a2b5d60","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":24926,"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":"0beb96e4-c052-4f87-be44-03b8d96d91c4","parentUUID":"45caf636-d65a-449d-9796-e7855a2b5d60","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0beb96e4-c052-4f87-be44-03b8d96d91c4"],"pending":[],"skipped":[],"duration":24926,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e5b90ed8-7754-4706-ba2f-fe33a8c0df7c","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":"a6ef5db0-ab6d-49f0-a5a3-ad98cc2e8a9c","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":24098,"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":"7cf9fce2-c337-40fb-a9b6-4bfa9864a537","parentUUID":"a6ef5db0-ab6d-49f0-a5a3-ad98cc2e8a9c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7cf9fce2-c337-40fb-a9b6-4bfa9864a537"],"pending":[],"skipped":[],"duration":24098,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"da0f30bb-2e1c-467d-b9be-2434ee9de6b9","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":"10c2e21a-131e-4a2d-b831-36bf76648752","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":23283,"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":"d6babad9-d9e5-4880-af84-5ab961241080","parentUUID":"10c2e21a-131e-4a2d-b831-36bf76648752","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d6babad9-d9e5-4880-af84-5ab961241080"],"pending":[],"skipped":[],"duration":23283,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e85ced02-d02a-4a0b-8a7c-d0f0600831e9","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":"c428826c-6d3a-4050-b71c-6c8b85f121fa","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":23570,"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":"a8a2dc49-e77e-4800-b0f1-b7c34b618b90","parentUUID":"c428826c-6d3a-4050-b71c-6c8b85f121fa","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a8a2dc49-e77e-4800-b0f1-b7c34b618b90"],"pending":[],"skipped":[],"duration":23570,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"66390eb0-1b4c-406b-8752-6ce07c925e04","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":"e1f3bede-bbc2-4398-a129-d5f8d931b1c6","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":24045,"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":"cab3bf92-d033-4653-960c-beba3e7d1fdb","parentUUID":"e1f3bede-bbc2-4398-a129-d5f8d931b1c6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cab3bf92-d033-4653-960c-beba3e7d1fdb"],"pending":[],"skipped":[],"duration":24045,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"afa66fed-cdf5-43dc-a268-55ac9b8a453b","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":"219ce62c-fb95-4af6-a10d-736569763815","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":23780,"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":"d7d35476-f30b-49af-a422-3b80c368a948","parentUUID":"219ce62c-fb95-4af6-a10d-736569763815","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d7d35476-f30b-49af-a422-3b80c368a948"],"pending":[],"skipped":[],"duration":23780,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"20e7f725-2ac1-42ad-8d20-4fd84645a80c","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":"ee9d08a3-0bab-43a6-a935-5857452ed5e5","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":23597,"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":"efc8544e-f8bf-4051-a908-3635d3591c63","parentUUID":"ee9d08a3-0bab-43a6-a935-5857452ed5e5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["efc8544e-f8bf-4051-a908-3635d3591c63"],"pending":[],"skipped":[],"duration":23597,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"01a52f8c-780a-4850-9100-616205dc16f7","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":"7e96d26b-199d-4edb-9424-fb0ed05a0b80","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":25616,"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":"664d1266-15ec-456d-9c1f-808df29aa157","parentUUID":"7e96d26b-199d-4edb-9424-fb0ed05a0b80","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["664d1266-15ec-456d-9c1f-808df29aa157"],"pending":[],"skipped":[],"duration":25616,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7581c7b6-bb32-475d-b68b-08ab37952685","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":"c6bdb91c-2ee4-4586-9e6c-a19a16e2349a","title":"Timeline","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Timeline - Timeline Page","fullTitle":"Timeline Timeline - Timeline Page","timedOut":null,"duration":18636,"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":"407fec95-9415-4884-976a-3fd7bcb4efac","parentUUID":"c6bdb91c-2ee4-4586-9e6c-a19a16e2349a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["407fec95-9415-4884-976a-3fd7bcb4efac"],"pending":[],"skipped":[],"duration":18636,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c9edc1aa-54fc-46e2-a830-e7fb80d18a36","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":"a77e9459-a413-4cf3-84a7-331aae8f7eb0","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":18272,"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":"46729f6a-f5ee-4d9c-93bd-2aac83537217","parentUUID":"a77e9459-a413-4cf3-84a7-331aae8f7eb0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["46729f6a-f5ee-4d9c-93bd-2aac83537217"],"pending":[],"skipped":[],"duration":18272,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9a3b02af-ac6d-49b7-94c6-0d587af2804d","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":"56370139-030f-4c83-bc2a-f1d5cfdc4de1","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":18536,"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":"dd8f33db-63fa-45e6-ac14-e0e6a641e29e","parentUUID":"56370139-030f-4c83-bc2a-f1d5cfdc4de1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dd8f33db-63fa-45e6-ac14-e0e6a641e29e"],"pending":[],"skipped":[],"duration":18536,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5d704258-8963-46aa-a5b6-6183672ba719","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":"fb4891f5-9835-49cd-95b1-631fa10682e7","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":19721,"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: `.row .col-3 .link-primary`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.row .col-3 .link-primary`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/04-update-customer.js:113:10)","diff":null},"uuid":"1edf8e19-790a-467e-88a5-8004784df580","parentUUID":"fb4891f5-9835-49cd-95b1-631fa10682e7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1edf8e19-790a-467e-88a5-8004784df580"],"pending":[],"skipped":[],"duration":19721,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c5144c09-db9c-4de6-a08a-400988e75387","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":"30f1e292-197d-4bb2-80b6-bc07c8a5c600","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":20030,"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: `.text-left > .btn-warning`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.text-left > .btn-warning`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/05-update-contact.js:112:12)","diff":null},"uuid":"4e3bb12c-08f9-4baf-86ae-14b2cfeb8c2d","parentUUID":"30f1e292-197d-4bb2-80b6-bc07c8a5c600","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4e3bb12c-08f9-4baf-86ae-14b2cfeb8c2d"],"pending":[],"skipped":[],"duration":20030,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f461dc54-0cfd-48c2-8432-6fa23e81c27e","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":"3a0ff2f7-36de-42d2-ba55-d5b11fd4be19","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":21459,"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: `.form-group > .btn-primary`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.form-group > .btn-primary`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/06-create-order.js:112:8)","diff":null},"uuid":"a83641c9-227f-4784-85d2-c9ae621f73e9","parentUUID":"3a0ff2f7-36de-42d2-ba55-d5b11fd4be19","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a83641c9-227f-4784-85d2-c9ae621f73e9"],"pending":[],"skipped":[],"duration":21459,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1027fad0-366d-416e-bd3d-78c9a3d3893d","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":"5ec5fcad-4bc9-4e51-9808-0f838324ce9b","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":26571,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/customers');\ncy.check();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .create-center-modal').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#payment-gateway-input').select('Stripe', {\n force: true\n}); // cy.get('#first_name-input').then((fname) => {\n// if ((fname.text()).includes('')) {\n// cy.get('#first_name-input').type('Rocky', { force: true })\n// }\n// })\n// .should('have.value', '');\ncy.get('#select2-billing_country-input-container').click({\n force: true\n}); // cy.get('#select2-billing_country-input-container').click({force:true})\ncy.wait(10000);\ncy.get('#select2-billing_country-input-results li.select2-results__option').eq(0).click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_state-input-results li').eq(0).click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_city-input-results li').eq(0).click({\n force: true\n});\ncy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).click({\n force: true\n }).clear().type('4242424242424242');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(1).click({\n force: true\n }).clear().type('425');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(2).click({\n force: true\n }).clear().type('424');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(3).click({\n force: true\n }).clear().type('77777');\n});\ncy.get('#save_button_dis').click();\ncy.wait(5000);\ncy.reload();\ncy.get('.d-flex > :nth-child(1) > p').first().then(function (name) {\n var cusName = name.text();\n cy.log(\"customer_name:\", cusName);\n cusName = cusName.trim();\n cusName = cusName.slice(31);\n cy.log(\"customer_name after:\", cusName);\n cy.get('#timeline-tab').should('contain', 'History').click({\n force: true\n });\n cy.get('#timeline-tab-container > :nth-child(1) > .tab > .nav > :nth-child(2) > .nav-link').contains('Other').click({\n force: true\n });\n cy.get(':nth-child(1) > .timeLineHistCont > .pt10').should('contain', cusName + ' New Payment Method Added');\n});","err":{"message":"CypressError: Timed out retrying after 4000ms: `cy.select()` failed because it could not find a single `<option>` with value or text matching: `Stripe`\n\nhttps://on.cypress.io/select","estack":"CypressError: Timed out retrying after 4000ms: `cy.select()` failed because it could not find a single `<option>` with value or text matching: `Stripe`\n\nhttps://on.cypress.io/select\n at getOptions (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:154421:21)\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Function.Promise.attempt.Promise.try (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8039:29)\n at retryOptions (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:154459:27)\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Function.Promise.attempt.Promise.try (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8039:29)\n at tryFn (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:167065:21)\n at whenStable (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:167103:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:166598:16\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8882:18)\n at Promise._fulfill (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8826:18)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10440:46\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/07-add-payment-method.js:113:38)","diff":null},"uuid":"1b1841ac-7255-461b-b582-c145605503ca","parentUUID":"5ec5fcad-4bc9-4e51-9808-0f838324ce9b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1b1841ac-7255-461b-b582-c145605503ca"],"pending":[],"skipped":[],"duration":26571,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ea70bb2c-6ba2-4288-817f-38132f35e071","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":"c0c0057b-2165-4e7a-bdc9-373fa72731c7","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":24313,"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":"5ccd0866-451b-48d3-bd7a-5ef8b4fdfdca","parentUUID":"c0c0057b-2165-4e7a-bdc9-373fa72731c7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5ccd0866-451b-48d3-bd7a-5ef8b4fdfdca"],"pending":[],"skipped":[],"duration":24313,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5c820ade-6eb8-4a91-bc7c-57d72d6396d2","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":"95eb158c-e7cd-462e-b42f-8dbd70d538b8","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":20939,"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: `.detail-top-btn .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.detail-top-btn .btn-group > .btn`, 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:109:8)","diff":null},"uuid":"e6466791-9e12-4c5a-8778-cf026b1c3c46","parentUUID":"95eb158c-e7cd-462e-b42f-8dbd70d538b8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e6466791-9e12-4c5a-8778-cf026b1c3c46"],"pending":[],"skipped":[],"duration":20939,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"629f38c0-020c-434a-8ab6-eb34e2b73ed1","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":"443ed0b8-c9cb-4a6b-a40e-c9a4caf0854b","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":21867,"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: `.detail-top-btn .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.detail-top-btn .btn-group > .btn`, 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:109:8)","diff":null},"uuid":"87bdc5dd-e4ae-4eff-8a84-5a163d48d1ee","parentUUID":"443ed0b8-c9cb-4a6b-a40e-c9a4caf0854b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["87bdc5dd-e4ae-4eff-8a84-5a163d48d1ee"],"pending":[],"skipped":[],"duration":21867,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a4412e2d-f0d0-47d1-9be2-4dedb5c0dcdd","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":"dad656b4-b6b8-4680-b584-157c444ef691","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":22081,"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: `.detail-top-btn .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.detail-top-btn .btn-group > .btn`, 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:109:8)","diff":null},"uuid":"d865430e-89ca-4331-8612-4d999d84a853","parentUUID":"dad656b4-b6b8-4680-b584-157c444ef691","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d865430e-89ca-4331-8612-4d999d84a853"],"pending":[],"skipped":[],"duration":22081,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1b81f52d-06b0-49c3-9f57-b6bdc386b44a","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":"608dd1a4-4dd2-45e5-8ac4-c46fb31cdcd4","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":19097,"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: `.detail-top-btn .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.detail-top-btn .btn-group > .btn`, 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:109:8)","diff":null},"uuid":"2dbf61ff-55e3-4708-a510-9a0f057b076c","parentUUID":"608dd1a4-4dd2-45e5-8ac4-c46fb31cdcd4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2dbf61ff-55e3-4708-a510-9a0f057b076c"],"pending":[],"skipped":[],"duration":19097,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a30e6bc9-b82a-46ec-9e2a-70efd601c414","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":"a2c0f5d5-72ca-43a0-a91f-c2a000e09857","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":21056,"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: `.detail-top-btn .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.detail-top-btn .btn-group > .btn`, 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:109:8)","diff":null},"uuid":"ebc50376-10ec-4185-8b00-5a2c342124a1","parentUUID":"a2c0f5d5-72ca-43a0-a91f-c2a000e09857","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ebc50376-10ec-4185-8b00-5a2c342124a1"],"pending":[],"skipped":[],"duration":21056,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"27a13375-ccb4-4256-8e81-315ed9aef460","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":"6a9b99c7-e005-4dff-a27f-3563efa2e72e","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":26843,"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":"9e325aca-4e0d-4686-bb4f-ea75185beaa7","parentUUID":"6a9b99c7-e005-4dff-a27f-3563efa2e72e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9e325aca-4e0d-4686-bb4f-ea75185beaa7"],"pending":[],"skipped":[],"duration":26843,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5412d56f-4f47-457b-ae47-307eb158ada8","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":"8758e6bd-0911-4dcb-b21a-65d34340f4d8","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":24744,"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":"3aaf0e87-2925-4a27-a18c-aa2675115988","parentUUID":"8758e6bd-0911-4dcb-b21a-65d34340f4d8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3aaf0e87-2925-4a27-a18c-aa2675115988"],"pending":[],"skipped":[],"duration":24744,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"61ebac11-64a6-4c38-8b47-e582fade2e55","title":"","fullFile":"cypress/integration/SF/z-logout/logout_spec.js","file":"cypress/integration/SF/z-logout/logout_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c7f9c043-4a1d-4e49-a134-9a90c61e7cac","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":9841,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();","err":{},"uuid":"adca2692-0cfc-42ef-a18f-f8d55f1ab466","parentUUID":"c7f9c043-4a1d-4e49-a134-9a90c61e7cac","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":152,"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":"61271f79-7994-45eb-9fdf-6d45427b9b52","parentUUID":"c7f9c043-4a1d-4e49-a134-9a90c61e7cac","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":3609,"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":"2b39f8b8-2a08-4d2c-b309-57c05e95cf16","parentUUID":"c7f9c043-4a1d-4e49-a134-9a90c61e7cac","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":2031,"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":"6664990d-009e-4e2f-8041-f73e7685c8b1","parentUUID":"c7f9c043-4a1d-4e49-a134-9a90c61e7cac","isHook":false,"skipped":false}],"suites":[],"passes":["adca2692-0cfc-42ef-a18f-f8d55f1ab466","61271f79-7994-45eb-9fdf-6d45427b9b52","2b39f8b8-2a08-4d2c-b309-57c05e95cf16","6664990d-009e-4e2f-8041-f73e7685c8b1"],"failures":[],"pending":[],"skipped":[],"duration":15633,"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>