/
var
/
www
/
html
/
subscription-test-cases
/
Upload File
HOME
{ "stats": { "suites": 163, "tests": 189, "passes": 92, "pending": 0, "failures": 97, "start": "2021-01-27T04:27:59.061Z", "end": "2021-01-27T04:27:59.061Z", "duration": 10949626, "testsRegistered": 189, "passPercent": 48.67724867724868, "pendingPercent": 0, "other": 0, "hasOther": false, "skipped": 0, "hasSkipped": false }, "results": [ { "uuid": "b701af0d-0020-467c-a55d-b6aa2133503f", "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": "f80f46be-54d5-42ea-86f2-6eae9edfc2fd", "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": 4511, "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": "e39cd69f-9886-46c4-ada1-f38ec359bc0d", "parentUUID": "f80f46be-54d5-42ea-86f2-6eae9edfc2fd", "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": 71, "state": "passed", "speed": "medium", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.get('.navbar-brand').contains('Dashboard');", "err": {}, "uuid": "086d0597-90b1-4d4e-9891-0992e95e7c3f", "parentUUID": "f80f46be-54d5-42ea-86f2-6eae9edfc2fd", "isHook": false, "skipped": false }, { "title": "I should see \"Welcome <Username>\" ", "fullTitle": "Login to the Customer Portal I should see \"Welcome <Username>\" ", "timedOut": null, "duration": 19, "state": "passed", "speed": "fast", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.contains('Welcome');", "err": {}, "uuid": "4304db66-12ed-446e-b747-47397ea4aa44", "parentUUID": "f80f46be-54d5-42ea-86f2-6eae9edfc2fd", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "e39cd69f-9886-46c4-ada1-f38ec359bc0d", "086d0597-90b1-4d4e-9891-0992e95e7c3f", "4304db66-12ed-446e-b747-47397ea4aa44" ], "failures": [], "pending": [], "skipped": [], "duration": 4601, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "5f5b7453-4321-4cef-a842-f343877fac01", "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": "8d6e689d-a82d-4afb-9842-1b691b095fe1", "title": "Subscription", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Subscription - Create Subscription", "fullTitle": "Subscription Subscription - Create Subscription", "timedOut": null, "duration": 80547, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "var totalSub = 0;\nvar totalInv = 0;\ncy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.wait(5000);\ncy.get('.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.get('[data-sfuniqueid*=\"subscription__card-\"]').its('length').then(function (elm) {\n totalSub = elm + 1;\n});\ncy.get('[data-sfuniqueid=\"subscription__actionBtns\"] a.btn.btn-black').click({\n force: true\n});\ncy.checkPortal();\ncy.wait(5000);\ncy.get('[data-sfuniqueid=\"subscription__subscriptionType_plan-0\"]:first-child .addPlanProductToSubscription').click({\n force: true\n});\ncy.wait(15000);\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(7000);\n cy.get('[data-sfuniqueid*=\"subscription__card-\"]').its('length').then(function (elm) {\n expect(elm).to.eq(totalSub);\n });\n cy.get('.fa-file-invoice-dollar').click({\n force: true\n });\n cy.get('.subscription-item-container').its('length').then(function (elm) {\n expect(elm).to.eq(totalInv);\n });\n cy.get('.bg-info').first().then(function (amount) {\n expect(invAmt.text()).to.include(amount.text());\n });\n});\ncy.visit('/en/customers');\ncy.visit('/en/customers');\ncy.check();\ncy.wait(10000);\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n});\ncy.get('[href=\"#Subscription-subpanel\"]').contains(' Subscriptions ').click({\n force: true\n});\ncy.get('#related-table-subscription .sf-pagination-wrapper span.bold').eq(0).then(function (subs) {\n var sub = parseInt(subs.text());\n expect(sub).eq(totalSub);\n});\ncy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n});\ncy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice) {\n var inv = parseInt(invoice.text());\n expect(inv).to.eq(totalInv);\n});", "err": {}, "uuid": "30f772da-ef70-4d73-a1b0-7cfe3ecec551", "parentUUID": "8d6e689d-a82d-4afb-9842-1b691b095fe1", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "30f772da-ef70-4d73-a1b0-7cfe3ecec551" ], "failures": [], "pending": [], "skipped": [], "duration": 80547, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "4cedae36-736f-413c-abed-b8b55593022d", "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": "81ea5402-3dd5-463b-a453-290e29bad685", "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": 56410, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.url().should('include', '/portal/subscriptions');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Active');\n});\nvar selected_plan = 0;\nvar updatedSelected_plan = 0;\nvar totalBefore = 0;\nvar totalAfter = 0;\ncy.wait(5000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalBefore = +normalVal;\n});\ncy.get('[data-sfuniqueid=\"subscription__card-0\"] .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns a.btn.btn-black.m-0').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.navbar-brand').contains('Upgrade / Downgrade Subscription');\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').then(function (elm) {\n selected_plan = elm.length;\n});\ncy.get('.row > .col-4:first-child button.addPlanProductToSubscription').click({\n force: true\n});\ncy.wait(12000);\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').then(function (elm) {\n updatedSelected_plan = elm.length;\n});\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').its('length').then(function () {\n expect(updatedSelected_plan).to.not.eq(selected_plan);\n}).then(function () {\n cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .btn-danger').click({\n force: true\n });\n cy.wait(7000);\n});\ncy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.wait(500);\ncy.url().should('include', '/portal/subscriptions');\ncy.get('[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});", "err": {}, "uuid": "67676c8c-4b61-46cb-ac04-42a21d839464", "parentUUID": "81ea5402-3dd5-463b-a453-290e29bad685", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "67676c8c-4b61-46cb-ac04-42a21d839464" ], "failures": [], "pending": [], "skipped": [], "duration": 56410, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "9518120e-a4be-4ea3-997a-4b17b1ccd137", "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": "8b64a17a-9c75-4bc5-a92d-bd425ea33ba0", "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": 50801, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.url().should('include', '/portal/subscriptions');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\nvar totalBefore = 0;\nvar totalAfter = 0;\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalBefore = +normalVal;\n});\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:first-child .btn-black').click({\n force: true\n});\ncy.wait(12000);\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row:first-child .btn-black').then(function (elm) {\n expect(elm.text().trim()).to.eq('removed');\n});\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').its('length').then(function () {\n cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .btn-danger').click({\n force: true\n });\n cy.wait(7000);\n});\ncy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.wait(500);\ncy.url().should('include', '/portal/subscriptions');\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalAfter = +normalVal;\n expect(totalAfter).to.lt(totalBefore);\n});", "err": {}, "uuid": "a35018a8-665d-4068-9b2c-8e8c82e26892", "parentUUID": "8b64a17a-9c75-4bc5-a92d-bd425ea33ba0", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "a35018a8-665d-4068-9b2c-8e8c82e26892" ], "failures": [], "pending": [], "skipped": [], "duration": 50801, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "54807733-5ec2-4612-90cd-d80a7db6d314", "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": "a9cbba8f-c107-4bcf-87b7-8920dfe9a78d", "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": 47032, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.wait(5000);\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"] .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns button.btn.btn-warning.m-0').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#suspendSubscriptionModal').should('have.class', 'show');\ncy.wait(5000);\ncy.get('#suspendSubscriptionModal button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.actionBtns button.btn.btn-success.m-0').then(function (elm) {\n expect(elm.text().trim()).to.eq('Resume');\n});\ncy.get('span.ml-2.badge.badge-status-suspended').then(function (elm) {\n expect(elm.text().trim()).to.eq('Suspended');\n});", "err": {}, "uuid": "9b43ca5d-91ea-466b-9fec-0b5f254b31d4", "parentUUID": "a9cbba8f-c107-4bcf-87b7-8920dfe9a78d", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "9b43ca5d-91ea-466b-9fec-0b5f254b31d4" ], "failures": [], "pending": [], "skipped": [], "duration": 47032, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "2128b889-ae8e-45d7-affc-010561cc65d8", "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": "aa199926-4c6b-4f23-bbd3-abf5b8b1905e", "title": "Subscription - Suspend", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Go to subscription's listing page and filter Suspended subscription then perform Subscription - Resume", "fullTitle": "Subscription - Suspend Go to subscription's listing page and filter Suspended subscription then perform Subscription - Resume", "timedOut": null, "duration": 47443, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.wait(5000);\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Suspended', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"] .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns button.btn.btn-success.m-0').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#resumeSubscriptionModal').should('have.class', 'show');\ncy.wait(5000);\ncy.get('#resumeSubscriptionModal button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.actionBtns .btn.btn-warning').then(function (elm) {\n expect(elm.text().trim()).to.eq('Suspend');\n});\ncy.get('span.ml-2.badge.badge-status-active').then(function (elm) {\n expect(elm.text().trim()).to.eq('Active');\n});", "err": {}, "uuid": "34d54375-3902-40f6-8d52-01b6af358fac", "parentUUID": "aa199926-4c6b-4f23-bbd3-abf5b8b1905e", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "34d54375-3902-40f6-8d52-01b6af358fac" ], "failures": [], "pending": [], "skipped": [], "duration": 47443, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "fd3297cc-20a7-47fb-abe1-e851272ac1af", "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": "a71f56ad-1504-428c-ac6f-3357792cc789", "title": "Subscription - Suspend", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Go to subscription's listing page and perform Subscription - Cancel", "fullTitle": "Subscription - Suspend Go to subscription's listing page and perform Subscription - Cancel", "timedOut": null, "duration": 31094, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.wait(5000);\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(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: Expected to find element: `span.ml-2.badge.badge-status-cancelled`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `span.ml-2.badge.badge-status-cancelled`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/6-subscription-cancel.spec.js:113:8)", "diff": null }, "uuid": "6188a882-1a24-437b-b3f6-127ab708283b", "parentUUID": "a71f56ad-1504-428c-ac6f-3357792cc789", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "6188a882-1a24-437b-b3f6-127ab708283b" ], "pending": [], "skipped": [], "duration": 31094, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "04823b1e-cf6a-42f8-a6c3-90a9060ec2a5", "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": "e17cd2e5-c260-4720-ba2b-ed52087b12b4", "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": 75938, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.url().should('include', '/portal/subscriptions');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\nvar totalBefore = 0;\nvar totalAfter = 0;\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalBefore = +normalVal;\n});\ncy.get('[data-sfuniqueid=\"subscription__card-0\"] .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns a.btn.btn-black.m-0').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.navbar-brand').contains('Upgrade / Downgrade Subscription');\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').each(function ($el, index, $list) {\n $el.find('.btn-black').click();\n});\ncy.wait(12000);\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').each(function ($el, index, $list) {\n expect($el.find('.btn-black').text().trim()).to.eq('removed');\n});\ncy.get('.row > .col-4:first-child button.addPlanProductToSubscription').click({\n force: true\n});\ncy.wait(12000);\ncy.get('.row > .col-4:last-child button.addPlanProductToSubscription').click({\n force: true\n});\ncy.wait(12000);\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').its('length').then(function () {\n cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .btn-danger').click({\n force: true\n });\n cy.wait(7000);\n});\ncy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.wait(500);\ncy.url().should('include', '/portal/subscriptions');\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalAfter = +normalVal;\n expect(totalAfter).to.not.eq(totalBefore);\n});", "err": {}, "uuid": "5169fe6f-b4e1-41c2-bca5-43b6b341f20c", "parentUUID": "e17cd2e5-c260-4720-ba2b-ed52087b12b4", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "5169fe6f-b4e1-41c2-bca5-43b6b341f20c" ], "failures": [], "pending": [], "skipped": [], "duration": 75938, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "d4d07772-a0a4-463a-b212-2362c2c85560", "title": "", "fullFile": "cypress/integration/p-portal/4-payment-methods/1-add-payment-method.spec.js", "file": "cypress/integration/p-portal/4-payment-methods/1-add-payment-method.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "e4ed8d2d-2151-4914-ba50-958db7fc6af0", "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": 73588, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"https://test.subscriptionflow.com/en/customers\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Stripe').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('.link-primary').eq(1).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.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n });\n }\n});", "err": {}, "uuid": "08dc6d9c-3d2d-44e9-a674-c44e783bfbed", "parentUUID": "e4ed8d2d-2151-4914-ba50-958db7fc6af0", "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": 92439, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "addPaymentMethod();", "err": { "message": "AssertionError: Timed out retrying: Expected to find content: 'Your payment method needs to be verified by our admin.' within the element: [ <h4.lead.m-0.text-danger>, 2 more... ] but never did.", "estack": "AssertionError: Timed out retrying: Expected to find content: 'Your payment method needs to be verified by our admin.' within the element: [ <h4.lead.m-0.text-danger>, 2 more... ] but never did.\n at addPaymentMethod (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/1-add-payment-method.spec.js:249:86)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/1-add-payment-method.spec.js:168:5)", "diff": null }, "uuid": "798dd8ad-1520-4c8d-8265-a6cf812ad0b4", "parentUUID": "e4ed8d2d-2151-4914-ba50-958db7fc6af0", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "08dc6d9c-3d2d-44e9-a674-c44e783bfbed" ], "failures": [ "798dd8ad-1520-4c8d-8265-a6cf812ad0b4" ], "pending": [], "skipped": [], "duration": 166027, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "5dcc702d-e47f-4dc4-9895-169f45262202", "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": "328772ad-3530-4e99-b8b4-35764ec2e48d", "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": 74113, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "// cy.get('.col-4 .btn.btn-danger').click({force:true})\n// Default Payment\ncy.visit(\"https://test.subscriptionflow.com/en/customers\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Stripe').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('.link-primary').eq(1).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.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n });\n }\n});", "err": {}, "uuid": "6af16d17-8711-4802-bfa2-0ad798e9b174", "parentUUID": "328772ad-3530-4e99-b8b4-35764ec2e48d", "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": 72210, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "addPaymentMethod();", "err": { "message": "AssertionError: Timed out retrying: Expected to find content: 'Your payment method (****4242) is saved successfully.' within the element: [ <h4.lead.m-0.text-danger>, 2 more... ] but never did.", "estack": "AssertionError: Timed out retrying: Expected to find content: 'Your payment method (****4242) is saved successfully.' within the element: [ <h4.lead.m-0.text-danger>, 2 more... ] but never did.\n at addPaymentMethod (https://test.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:281:85)\n at Context.eval (https://test.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:170:5)", "diff": null }, "uuid": "5949fcb8-2370-41cb-b5e5-44dffb189511", "parentUUID": "328772ad-3530-4e99-b8b4-35764ec2e48d", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "6af16d17-8711-4802-bfa2-0ad798e9b174" ], "failures": [ "5949fcb8-2370-41cb-b5e5-44dffb189511" ], "pending": [], "skipped": [], "duration": 146323, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "470ae271-7ae8-4bce-a4ba-2257319e6a75", "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": "99f7ac2a-3c70-4f97-8297-a903f7a280d6", "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": 72846, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "// cy.get('.col-4 .btn.btn-danger').click({force:true})\n// Default Payment\ncy.visit(\"https://test.subscriptionflow.com/en/customers\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Stripe').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('.link-primary').eq(1).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.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n });\n }\n});", "err": {}, "uuid": "1fb6672d-7171-4395-aba0-5fa58886d520", "parentUUID": "99f7ac2a-3c70-4f97-8297-a903f7a280d6", "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": 59897, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "addPaymentMethod();", "err": { "message": "AssertionError: Timed out retrying: Expected to find content: 'Your card was declined.' within the element: [ <h4.lead.m-0.text-danger>, 2 more... ] but never did.", "estack": "AssertionError: Timed out retrying: Expected to find content: 'Your card was declined.' within the element: [ <h4.lead.m-0.text-danger>, 2 more... ] but never did.\n at addPaymentMethod (https://test.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:250:55)\n at Context.eval (https://test.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:170:5)", "diff": null }, "uuid": "6c9fe1a7-a8ba-41c9-93bc-910b07c52e15", "parentUUID": "99f7ac2a-3c70-4f97-8297-a903f7a280d6", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "1fb6672d-7171-4395-aba0-5fa58886d520" ], "failures": [ "6c9fe1a7-a8ba-41c9-93bc-910b07c52e15" ], "pending": [], "skipped": [], "duration": 132743, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "9e7cc3eb-e66c-40d4-b8a4-18d7fc02e308", "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": "5e45224d-16bf-41f8-bb46-3da01533a6f5", "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": 78221, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "// Default Payment\ncy.visit(\"https://test.subscriptionflow.com/en/customers\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Authorize.NET').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#confirmation_config_integration button').contains('Close').click({\n force: true\n});\ncy.wait(5000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('.link-primary').eq(1).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.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n });\n }\n});", "err": {}, "uuid": "3ffa6e10-1fd8-4a60-a2e4-66932992f102", "parentUUID": "5e45224d-16bf-41f8-bb46-3da01533a6f5", "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": 64816, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "addPaymentMethod();", "err": { "message": "AssertionError: Timed out retrying: Expected to find content: 'Your payment method (****1111) is saved successfully.' within the element: [ <h4.lead.m-0.text-success>, 2 more... ] but never did.", "estack": "AssertionError: Timed out retrying: Expected to find content: 'Your payment method (****1111) is saved successfully.' within the element: [ <h4.lead.m-0.text-success>, 2 more... ] but never did.\n at addPaymentMethod (https://test.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:261:85)\n at Context.eval (https://test.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:173:5)", "diff": null }, "uuid": "e01d7740-85d9-42eb-8ec2-aa8e7c8da6e5", "parentUUID": "5e45224d-16bf-41f8-bb46-3da01533a6f5", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "3ffa6e10-1fd8-4a60-a2e4-66932992f102" ], "failures": [ "e01d7740-85d9-42eb-8ec2-aa8e7c8da6e5" ], "pending": [], "skipped": [], "duration": 143037, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "ae1f4571-2f91-4abd-b6a1-82574655cc73", "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": "c9d997d9-96bf-48d7-a6b0-b4669eeb216b", "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": 78892, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "// Default Payment\ncy.visit(\"https://test.subscriptionflow.com/en/customers\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Authorize.NET').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#confirmation_config_integration button').contains('Close').click({\n force: true\n});\ncy.wait(5000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('.link-primary').eq(1).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.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n });\n }\n});", "err": {}, "uuid": "238330b7-6299-4c74-9a17-13bc0d01c185", "parentUUID": "c9d997d9-96bf-48d7-a6b0-b4669eeb216b", "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": 79544, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "addPaymentMethod();", "err": { "message": "AssertionError: Timed out retrying: Expected to find content: 'Your payment method (****1111) is saved successfully.' within the element: [ <h4.lead.m-0.text-success>, 2 more... ] but never did.", "estack": "AssertionError: Timed out retrying: Expected to find content: 'Your payment method (****1111) is saved successfully.' within the element: [ <h4.lead.m-0.text-success>, 2 more... ] but never did.\n at addPaymentMethod (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js:247:85)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js:173:5)", "diff": null }, "uuid": "17856a2a-591f-45d3-a785-01fd3e8fab75", "parentUUID": "c9d997d9-96bf-48d7-a6b0-b4669eeb216b", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "238330b7-6299-4c74-9a17-13bc0d01c185" ], "failures": [ "17856a2a-591f-45d3-a785-01fd3e8fab75" ], "pending": [], "skipped": [], "duration": 158436, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "1e0c7572-ae5c-4171-9484-5cbc1a1152d5", "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": "fdb50422-649d-4b5f-919a-f030a25488a4", "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": 72472, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "// Default Payment\ncy.visit(\"https://test.subscriptionflow.com/en/customers\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('PayPal Express Checkout').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('.link-primary').eq(1).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.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n });\n }\n});", "err": {}, "uuid": "b8af131f-d2f0-4b9f-ad69-2f07197d492b", "parentUUID": "fdb50422-649d-4b5f-919a-f030a25488a4", "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": 61147, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "addPaymentMethod();", "err": { "message": "AssertionError: Timed out retrying: Expected to find content: 'Your payment method (andyandy@mail.com) is saved successfully.' within the element: [ <h4.lead.m-0.text-success>, 2 more... ] but never did.", "estack": "AssertionError: Timed out retrying: Expected to find content: 'Your payment method (andyandy@mail.com) is saved successfully.' within the element: [ <h4.lead.m-0.text-success>, 2 more... ] but never did.\n at addPaymentMethod (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js:232:94)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js:169:5)", "diff": null }, "uuid": "3cb355e7-409a-4ad3-9b48-c30f7060e041", "parentUUID": "fdb50422-649d-4b5f-919a-f030a25488a4", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "b8af131f-d2f0-4b9f-ad69-2f07197d492b" ], "failures": [ "3cb355e7-409a-4ad3-9b48-c30f7060e041" ], "pending": [], "skipped": [], "duration": 133619, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "53c38fc9-b494-4271-84bc-2ba264b4fcbe", "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": "080becb2-9044-484d-8ff8-2c2d6a309394", "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": 4255, "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": "b4ef8774-320a-4e59-be4b-a61512e11da6", "parentUUID": "080becb2-9044-484d-8ff8-2c2d6a309394", "isHook": false, "skipped": false }, { "title": "I should be on the customer's portal Dashboard/home page", "fullTitle": "Logout from Customer Portal I should be on the customer's portal Dashboard/home page", "timedOut": null, "duration": 51, "state": "passed", "speed": "medium", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.get('.navbar-brand').contains('Dashboard');", "err": {}, "uuid": "5f4a99db-bb67-4a09-a1b2-9016d02baf61", "parentUUID": "080becb2-9044-484d-8ff8-2c2d6a309394", "isHook": false, "skipped": false }, { "title": "I should see \"Welcome <Username>\" ", "fullTitle": "Logout from Customer Portal I should see \"Welcome <Username>\" ", "timedOut": null, "duration": 20, "state": "passed", "speed": "fast", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.contains('Welcome');", "err": {}, "uuid": "a21076e8-c7f2-4445-b5fe-64480cb990f3", "parentUUID": "080becb2-9044-484d-8ff8-2c2d6a309394", "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": 3888, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.get('.logout-btn > a').click({\n force: true\n});\ncy.visit('/portal/dashboard');\ncy.location('pathname').should('include', '/portal/login');", "err": {}, "uuid": "3e2f7776-a783-40d9-b711-aa307144e64f", "parentUUID": "080becb2-9044-484d-8ff8-2c2d6a309394", "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": 37, "state": "passed", "speed": "fast", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.location('pathname').should('not.include', 'dashboard');", "err": {}, "uuid": "3b2fc640-7e82-4f84-9c75-7995ef41938b", "parentUUID": "080becb2-9044-484d-8ff8-2c2d6a309394", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "b4ef8774-320a-4e59-be4b-a61512e11da6", "5f4a99db-bb67-4a09-a1b2-9016d02baf61", "a21076e8-c7f2-4445-b5fe-64480cb990f3", "3e2f7776-a783-40d9-b711-aa307144e64f", "3b2fc640-7e82-4f84-9c75-7995ef41938b" ], "failures": [], "pending": [], "skipped": [], "duration": 8251, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "aed3f7a7-7f2f-475b-8442-dd28f065f644", "title": "", "fullFile": "cypress/integration/SF/a-dashboard/1-login_spec.js", "file": "cypress/integration/SF/a-dashboard/1-login_spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "670cde3f-d178-46b0-965d-95e0d7f1d47f", "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": 6317, "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": "b1cddb55-5ea3-43e0-a282-01561c7deeac", "parentUUID": "670cde3f-d178-46b0-965d-95e0d7f1d47f", "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": 99, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.title().should('include', 'SubscriptionFlow - Dashboard');", "err": {}, "uuid": "617c201a-df97-4266-921a-e592a44819a6", "parentUUID": "670cde3f-d178-46b0-965d-95e0d7f1d47f", "isHook": false, "skipped": false }, { "title": "I should see \"Welcome <Username>\" ", "fullTitle": "Login to the site I should see \"Welcome <Username>\" ", "timedOut": null, "duration": 71, "state": "passed", "speed": "medium", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.contains('Welcome');", "err": {}, "uuid": "77d7dd44-c1de-4843-b9b9-3b7f9fa75ac1", "parentUUID": "670cde3f-d178-46b0-965d-95e0d7f1d47f", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "b1cddb55-5ea3-43e0-a282-01561c7deeac", "617c201a-df97-4266-921a-e592a44819a6", "77d7dd44-c1de-4843-b9b9-3b7f9fa75ac1" ], "failures": [], "pending": [], "skipped": [], "duration": 6487, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "687518a5-4cfc-4940-9ecb-ccedb44a1cdd", "title": "", "fullFile": "cypress/integration/SF/a-dashboard/2-dashboard_view_spec.js", "file": "cypress/integration/SF/a-dashboard/2-dashboard_view_spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "24dfa58e-d79b-415a-847e-0da9e06ab7ad", "title": "Dashboard View", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "I observe the Dashboard", "fullTitle": "Dashboard View I observe the Dashboard", "timedOut": null, "duration": 7082, "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": "19286870-58a2-49f0-9948-0616c601e923", "parentUUID": "24dfa58e-d79b-415a-847e-0da9e06ab7ad", "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": 62, "state": "passed", "speed": "medium", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.get('.main-navbar').should('be.visible');", "err": {}, "uuid": "c8547e38-80f6-43ac-aa47-f3893fff9a66", "parentUUID": "24dfa58e-d79b-415a-847e-0da9e06ab7ad", "isHook": false, "skipped": false }, { "title": "I should see two CTA's : Classic view , Action", "fullTitle": "Dashboard View I should see two CTA's : Classic view , Action", "timedOut": null, "duration": 65, "state": "passed", "speed": "medium", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.get('.classic_view_btn').should('exist');\ncy.get('.actions-dropdown > .btn').should('exist');", "err": {}, "uuid": "fe4672a4-68d0-4807-9904-c280ed6e7c85", "parentUUID": "24dfa58e-d79b-415a-847e-0da9e06ab7ad", "isHook": false, "skipped": false }, { "title": "I scroll down to the bottom, Expect footer", "fullTitle": "Dashboard View I scroll down to the bottom, Expect footer", "timedOut": null, "duration": 27, "state": "passed", "speed": "fast", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.scrollTo('bottom', {\n ensureScrollable: true\n});\ncy.get('.main-footer').should('be.visible');", "err": {}, "uuid": "d11c1d2b-3965-472a-bb18-317ba23c020e", "parentUUID": "24dfa58e-d79b-415a-847e-0da9e06ab7ad", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "19286870-58a2-49f0-9948-0616c601e923", "c8547e38-80f6-43ac-aa47-f3893fff9a66", "fe4672a4-68d0-4807-9904-c280ed6e7c85", "d11c1d2b-3965-472a-bb18-317ba23c020e" ], "failures": [], "pending": [], "skipped": [], "duration": 7236, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "3cb60fec-ce53-4248-96d7-4a335477bbdc", "title": "", "fullFile": "cypress/integration/SF/b-forgot-password/forgot-password.js", "file": "cypress/integration/SF/b-forgot-password/forgot-password.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "1bd240f4-ed0e-489c-8493-3c780e51a565", "title": "Forgot Password", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Valid Email ", "fullTitle": "Forgot Password Valid Email ", "timedOut": null, "duration": 3077, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.forgot_password('admin@subscriptionflow.com');", "err": {}, "uuid": "a8bddce9-13b0-4576-95fb-bc939a25fd05", "parentUUID": "1bd240f4-ed0e-489c-8493-3c780e51a565", "isHook": false, "skipped": false }, { "title": "Email not in record", "fullTitle": "Forgot Password Email not in record", "timedOut": null, "duration": 4430, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.forgot_password('noman@subscriptionflow.com').get('.btn').click({\n force: true\n}).get('.invalid-feedback').should('be.visible');", "err": {}, "uuid": "2fed0b33-5730-4f4b-b0e7-4fa0cc7f127b", "parentUUID": "1bd240f4-ed0e-489c-8493-3c780e51a565", "isHook": false, "skipped": false }, { "title": "Successfull Password Reset Link", "fullTitle": "Forgot Password Successfull Password Reset Link", "timedOut": null, "duration": 4602, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.forgot_password('admin@subscriptionflow.com').get('.btn').click({\n force: true\n}).get('.alert-success').should('be.visible');", "err": {}, "uuid": "408ceacd-529d-4354-b585-de60699653ab", "parentUUID": "1bd240f4-ed0e-489c-8493-3c780e51a565", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "a8bddce9-13b0-4576-95fb-bc939a25fd05", "2fed0b33-5730-4f4b-b0e7-4fa0cc7f127b", "408ceacd-529d-4354-b585-de60699653ab" ], "failures": [], "pending": [], "skipped": [], "duration": 12109, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "98c13f89-e766-408c-bfaf-4dcf6ea87dc3", "title": "", "fullFile": "cypress/integration/SF/c-contacts/cancel_contact_spec.js", "file": "cypress/integration/SF/c-contacts/cancel_contact_spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "cca12742-b0b8-4369-81fc-321b64e50ee7", "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": 96519, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.contains('Create Contact').click({\n force: true\n});\ncy.url().should('include', '/contacts/create');\ncy.contains('Basic Information').should('be.visible');\ncy.contains('Address Information').should('be.visible');\ncy.get('.col-md-12 .btn.btn-create').contains(\"Save\").should('be.visible');\ncy.contains('Cancel').should('be.visible'); // cy.get('#select2-assigned_group_id-input-container').click({force:true})\n// cy.wait(5000)\n// cy.get('#select2-assigned_group_id-input-container').click({force:true})\n// cy.wait(5000)\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(5000);\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(5000);\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(5000);\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(5000);\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(5000);\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(5000);\ncy.get('#select2-shipping_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n}).then(function () {\n cy.get(\".invalid-feedback\").contains(' This Field is Required ').should('be.visible');\n cy.get(\".invalid-feedback\").contains(' Invalid Email Value ').should('be.visible');\n cy.get(\".invalid-feedback\").contains(' Invalid Phone Number').should('be.visible');\n});\ncy.contains('Cancel').click({\n force: true\n});\ncy.url().should('include', '/contacts');", "err": {}, "uuid": "77ad85de-d4bc-4235-9f48-0cab029060a8", "parentUUID": "cca12742-b0b8-4369-81fc-321b64e50ee7", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "77ad85de-d4bc-4235-9f48-0cab029060a8" ], "failures": [], "pending": [], "skipped": [], "duration": 96519, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "ea8bf0c4-12d5-4e47-8cb5-6dbcdbaf90be", "title": "", "fullFile": "cypress/integration/SF/c-contacts/create_contact_spec.js", "file": "cypress/integration/SF/c-contacts/create_contact_spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "bceebffe-8ef0-4dff-8b30-5b565c411454", "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": 102340, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.contains('Create Contact').click({\n force: true\n});\ncy.url().should('include', '/contacts/create');\ncy.contains('Basic Information').should('be.visible');\ncy.contains('Address Information').should('be.visible');\ncy.get('.col-md-12 .btn.btn-create').contains(\"Save\").should('be.visible');\ncy.contains('Cancel').should('be.visible'); // cy.get('#select2-assigned_group_id-input-container').click({force:true})\n// cy.wait(5000)\n// cy.get('#select2-assigned_group_id-input-container').click({force:true})\n// cy.wait(5000)\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(5000);\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(5000);\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(5000);\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(5000);\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(5000);\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(5000);\ncy.get('#select2-shipping_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n}).then(function () {\n cy.get(\".invalid-feedback\").contains(' This Field is Required ').should('be.visible');\n cy.get(\".invalid-feedback\").contains(' Invalid Email Value ').should('be.visible');\n cy.get(\".invalid-feedback\").contains(' Invalid Phone Number').should('be.visible');\n});\ncy.get('#last_name-input').type('Anderson', {\n force: true\n});\ncy.get('input[type=\"email\"]').eq(0).type('@mail.com', {\n force: true\n});\ncy.get('#work_phone-input').clear({\n force: true\n}).type('03009765278', {\n force: true\n});\ncy.get('#personal_phone-input').clear({\n force: true\n}).type('03009765278', {\n force: true\n});\ncy.get('#home_phone-input').clear({\n force: true\n}).type('03009765278', {\n force: true\n});\ncy.get('#other_phone-input').clear({\n force: true\n}).type('03009765278', {\n force: true\n});\ncy.get('#fax-input').clear({\n force: true\n}).type('03009765278', {\n force: true\n});\ncy.get('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n});\ncy.get('.page-title').should('contain', 'Steven Anderson');", "err": {}, "uuid": "c3a442ee-e220-4ace-83c7-4f976996f419", "parentUUID": "bceebffe-8ef0-4dff-8b30-5b565c411454", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "c3a442ee-e220-4ace-83c7-4f976996f419" ], "failures": [], "pending": [], "skipped": [], "duration": 102340, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "a6626f56-ebef-4226-9f75-66a9ff575609", "title": "", "fullFile": "cypress/integration/SF/d-product/01-create_product_spec.js", "file": "cypress/integration/SF/d-product/01-create_product_spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "255f9263-ab25-4e64-97f3-857013f5bbf4", "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": 9226, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/products\");\ncy.check();\ncy.contains('Create Product').click({\n force: true\n});\ncy.url().should('include', '/products/create');", "err": {}, "uuid": "9747328d-e583-4851-bb05-4e3a36e9a0ac", "parentUUID": "255f9263-ab25-4e64-97f3-857013f5bbf4", "isHook": false, "skipped": false }, { "title": "Fill the form and click CTA", "fullTitle": "Create product Fill the form and click CTA", "timedOut": null, "duration": 21469, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "var todaysDate = Cypress.moment().format('MM/DD/YYYY');\nvar addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\nvar endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\ncy.wait(5000);\ncy.get('.select2-selection.select2-selection--multiple').click({\n force: true\n});\ncy.wait(5000);\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(':nth-child(5) > :nth-child(1) > .form-group > .form-control').type('cyp_test_product', {\n force: true\n});\ncy.get('#select2-manager_id-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-manager_id-input-results li:first-child').click({\n force: true\n});\ncy.get('button.btn.btn-create').eq(1).contains('Save').click({\n force: true\n});", "err": {}, "uuid": "d0265d80-71d4-4135-96f5-5627d6903803", "parentUUID": "255f9263-ab25-4e64-97f3-857013f5bbf4", "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": 65, "state": "passed", "speed": "medium", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.location('pathname').should('include', 'product-detail');\ncy.get('.page-title').should('contain', 'Cyp_test_product');", "err": {}, "uuid": "2ffff635-f0c3-45da-9a60-b4917d14d99d", "parentUUID": "255f9263-ab25-4e64-97f3-857013f5bbf4", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "9747328d-e583-4851-bb05-4e3a36e9a0ac", "d0265d80-71d4-4135-96f5-5627d6903803", "2ffff635-f0c3-45da-9a60-b4917d14d99d" ], "failures": [], "pending": [], "skipped": [], "duration": 30760, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "d65e80b1-731d-4206-ac0b-d66923ce701f", "title": "", "fullFile": "cypress/integration/SF/d-product/02-add_product_plan_spec.js", "file": "cypress/integration/SF/d-product/02-add_product_plan_spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "39b563fa-b424-46e6-90c8-d17919d96df5", "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": 39824, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/products\");\ncy.check();\ncy.wait(10000);\ncy.get('input[type=\"search\"]').type('cyp_test_product', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n});\ncy.url().should('contain', 'product-detail'); // cy.wait(50)\n// cy.get('#related-table-plan table:nth-child(2) tbody > :nth-child(3) > :nth-child(1) > .mt-2 > .col-md-4 > a').click({force: true, failOnStatusCode: false});\n// cy.wait(300);\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n cy.get('#related-table-plan .sf-pagination-wrapper span.bold').eq(0).then(function (Plan1) {\n createPlan();\n cy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n });\n cy.get('#related-table-plan .sf-pagination-wrapper span.bold').eq(0).then(function (Plan2) {\n var count = parseFloat(Plan1.text()) + 1;\n expect(count).to.eq(parseFloat(Plan2.text()));\n });\n });\n } else {\n createPlan();\n cy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n });\n cy.get('#related-table-plan .sf-pagination-wrapper span.bold').eq(0).then(function (Plan2) {\n var count = 1;\n expect(count).to.eq(parseFloat(Plan2.text()));\n });\n }\n});", "err": {}, "uuid": "f185e54b-e46f-4db0-82dd-87a4c0c78729", "parentUUID": "39b563fa-b424-46e6-90c8-d17919d96df5", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "f185e54b-e46f-4db0-82dd-87a4c0c78729" ], "failures": [], "pending": [], "skipped": [], "duration": 39824, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "c9957b40-ba02-40c1-a3ba-fa6ac7cdce1d", "title": "", "fullFile": "cypress/integration/SF/d-product/03-add_plan_detail_one_time_spec.js", "file": "cypress/integration/SF/d-product/03-add_plan_detail_one_time_spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "b90db464-65ef-490a-9d54-eff69e242962", "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": 36600, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/products\");\ncy.check();\ncy.wait(10000);\ncy.get('input[type=\"search\"]').type('cyp_test_product', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n});\ncy.url().should('contain', 'product-detail');\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n addPricing();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n addPricing();\n }\n});", "err": {}, "uuid": "e2ffdeb9-07bc-4ac7-95d8-7965942ac0ee", "parentUUID": "b90db464-65ef-490a-9d54-eff69e242962", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "e2ffdeb9-07bc-4ac7-95d8-7965942ac0ee" ], "failures": [], "pending": [], "skipped": [], "duration": 36600, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "f34f0bf6-a5ba-4bc3-bd7d-a37cf19ae36d", "title": "", "fullFile": "cypress/integration/SF/d-product/04-add_plan_detail_recurring_spec.js", "file": "cypress/integration/SF/d-product/04-add_plan_detail_recurring_spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "6f66d7d2-df6c-408f-85c3-00cb41fa6f80", "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": 36507, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/products\");\ncy.check();\ncy.wait(10000);\ncy.get('input[type=\"search\"]').type('cyp_test_product', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n});\ncy.url().should('contain', 'product-detail');\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n addPricing();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n addPricing();\n }\n});", "err": {}, "uuid": "40d6b99c-4ee5-4877-8d16-5ddd101eec44", "parentUUID": "6f66d7d2-df6c-408f-85c3-00cb41fa6f80", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "40d6b99c-4ee5-4877-8d16-5ddd101eec44" ], "failures": [], "pending": [], "skipped": [], "duration": 36507, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "3528811b-0504-4bce-9c2f-e9015a97798e", "title": "", "fullFile": "cypress/integration/SF/d-product/05-add_plan_detail_UOM_spec.js", "file": "cypress/integration/SF/d-product/05-add_plan_detail_UOM_spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "7a2399ec-e354-40bf-b3d2-2dcc8f5d89e4", "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": 37411, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/products\");\ncy.check();\ncy.wait(10000);\ncy.get('input[type=\"search\"]').type('cyp_test_product', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n});\ncy.url().should('contain', 'product-detail');\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n addPricing();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n addPricing();\n }\n});", "err": {}, "uuid": "bbbe54c9-6cfa-434d-96d0-89ea3b3b9343", "parentUUID": "7a2399ec-e354-40bf-b3d2-2dcc8f5d89e4", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "bbbe54c9-6cfa-434d-96d0-89ea3b3b9343" ], "failures": [], "pending": [], "skipped": [], "duration": 37411, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "bc4c7a33-3545-4198-86be-a23443b42410", "title": "", "fullFile": "cypress/integration/SF/d-product/06HPP_Trial_CreditCard_AuthorizeNet.spec.js", "file": "cypress/integration/SF/d-product/06HPP_Trial_CreditCard_AuthorizeNet.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "a3bb9e72-5eab-4b59-ac3b-ab4324fce0ab", "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": 189180, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#apps_flow').click({\n force: true\n});\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('.ni-settings').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 Configurations').click({\n force: true\n });\n }\n});\ncy.visit('https://test.subscriptionflow.com');\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Authorize.NET').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Name\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').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 force: true\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 Plans\"]').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').select('Sales (25)', {\n force: true\n });\n cy.get('#list_price-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": {}, "uuid": "e005b590-16f9-4a5b-96ec-5d14c02288ca", "parentUUID": "a3bb9e72-5eab-4b59-ac3b-ab4324fce0ab", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "e005b590-16f9-4a5b-96ec-5d14c02288ca" ], "failures": [], "pending": [], "skipped": [], "duration": 189180, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "ed124067-2b1e-437a-bbf5-56d2b4a1656c", "title": "", "fullFile": "cypress/integration/SF/d-product/07HPP_CreditCard_AuthorizeNet.spec.js", "file": "cypress/integration/SF/d-product/07HPP_CreditCard_AuthorizeNet.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "15057c7a-cc12-470f-8663-d7ea0e8def40", "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": 193794, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#apps_flow').click({\n force: true\n});\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('.ni-settings').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 Configurations').click({\n force: true\n });\n }\n});\ncy.visit('https://test.subscriptionflow.com');\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Authorize.NET').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Name\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').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 force: true\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 Plans\"]').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').select('Sales (25)', {\n force: true\n });\n cy.get('#list_price-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": {}, "uuid": "f6658233-2645-427c-be4a-9a3f53170b82", "parentUUID": "15057c7a-cc12-470f-8663-d7ea0e8def40", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "f6658233-2645-427c-be4a-9a3f53170b82" ], "failures": [], "pending": [], "skipped": [], "duration": 193794, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "d8d9008d-94d8-48f7-a43b-1fbcc7164a36", "title": "", "fullFile": "cypress/integration/SF/d-product/08HPP_Trial_BankTransfer_AuthorizeNet.spec.js", "file": "cypress/integration/SF/d-product/08HPP_Trial_BankTransfer_AuthorizeNet.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "f14343ab-36ee-4d20-b8fc-8000a1183bc8", "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": 197342, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#apps_flow').click({\n force: true\n});\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('.ni-settings').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 Configurations').click({\n force: true\n });\n }\n});\ncy.visit('https://test.subscriptionflow.com');\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Authorize.NET').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Name\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').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 force: true\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 Plans\"]').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').select('Sales (25)', {\n force: true\n });\n cy.get('#list_price-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": {}, "uuid": "5f7c2cd2-43e7-4345-8431-e91ad7aa200f", "parentUUID": "f14343ab-36ee-4d20-b8fc-8000a1183bc8", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "5f7c2cd2-43e7-4345-8431-e91ad7aa200f" ], "failures": [], "pending": [], "skipped": [], "duration": 197342, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "b34f9f75-ee4d-4c7d-a34c-043a8427cc51", "title": "", "fullFile": "cypress/integration/SF/d-product/09HPP_BankTransfer_AuthorizeNet.spec.js", "file": "cypress/integration/SF/d-product/09HPP_BankTransfer_AuthorizeNet.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "9dfbda0d-383e-42ad-bb51-1abbdda0d8af", "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": 198873, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#apps_flow').click({\n force: true\n});\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('.ni-settings').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 Configurations').click({\n force: true\n });\n }\n});\ncy.visit('https://test.subscriptionflow.com');\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Authorize.NET').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Name\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').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 force: true\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 Plans\"]').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').select('Sales (25)', {\n force: true\n });\n cy.get('#list_price-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": {}, "uuid": "3e15d0c1-6e3d-492f-8111-ec1e106d0d34", "parentUUID": "9dfbda0d-383e-42ad-bb51-1abbdda0d8af", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "3e15d0c1-6e3d-492f-8111-ec1e106d0d34" ], "failures": [], "pending": [], "skipped": [], "duration": 198873, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "47d2abfa-2f3e-43d0-8bdb-c3b7d3ef2c59", "title": "", "fullFile": "cypress/integration/SF/d-product/12HPP_Trial_CreditCard_Stripe.spec.js", "file": "cypress/integration/SF/d-product/12HPP_Trial_CreditCard_Stripe.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "0a8c4127-d31e-4d3f-bd7e-b7a10f9a59d6", "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": 209540, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#apps_flow').click({\n force: true\n});\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('.ni-settings').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 Configurations').click({\n force: true\n });\n }\n});\ncy.visit('https://test.subscriptionflow.com');\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Stripe').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Name\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').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 force: true\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 Plans\"]').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').select('Sales (25)', {\n force: true\n });\n cy.get('#list_price-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": {}, "uuid": "aa4f9724-2aae-42a6-9635-dca5dcb48e5d", "parentUUID": "0a8c4127-d31e-4d3f-bd7e-b7a10f9a59d6", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "aa4f9724-2aae-42a6-9635-dca5dcb48e5d" ], "failures": [], "pending": [], "skipped": [], "duration": 209540, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "0558c509-9038-4bb5-bf20-a9256b209c4c", "title": "", "fullFile": "cypress/integration/SF/d-product/13HPP_CreditCard_Stripe.spec.js", "file": "cypress/integration/SF/d-product/13HPP_CreditCard_Stripe.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "c6cbf444-c951-4668-a4d2-59b60fd26fdc", "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": 198521, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#apps_flow').click({\n force: true\n});\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('.ni-settings').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 Configurations').click({\n force: true\n });\n }\n});\ncy.visit('https://test.subscriptionflow.com');\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Stripe').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Name\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').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 force: true\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 Plans\"]').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').select('Sales (25)', {\n force: true\n });\n cy.get('#list_price-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": {}, "uuid": "cb2d7e4f-d556-4e52-8dcc-6ef7b2c99eeb", "parentUUID": "c6cbf444-c951-4668-a4d2-59b60fd26fdc", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "cb2d7e4f-d556-4e52-8dcc-6ef7b2c99eeb" ], "failures": [], "pending": [], "skipped": [], "duration": 198521, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "8166b01d-6e1e-4944-a3c7-1a8fbfb3ec00", "title": "", "fullFile": "cypress/integration/SF/d-product/14HPP_Trial_BankTransfer_Stripe.spec.js", "file": "cypress/integration/SF/d-product/14HPP_Trial_BankTransfer_Stripe.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "544d14f9-b4c9-4f46-a881-bb190b80de59", "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": 198439, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#apps_flow').click({\n force: true\n});\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('.ni-settings').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 Configurations').click({\n force: true\n });\n }\n});\ncy.visit('https://test.subscriptionflow.com');\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Stripe').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Name\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').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 force: true\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 Plans\"]').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').select('Sales (25)', {\n force: true\n });\n cy.get('#list_price-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": {}, "uuid": "c0f59cca-6cfc-4d95-b231-8778d3c8dabf", "parentUUID": "544d14f9-b4c9-4f46-a881-bb190b80de59", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "c0f59cca-6cfc-4d95-b231-8778d3c8dabf" ], "failures": [], "pending": [], "skipped": [], "duration": 198439, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "f413d00b-8ecb-4e5b-9a64-a09c0f4fdb07", "title": "", "fullFile": "cypress/integration/SF/d-product/15HPP_BankTransfer_Stripe.spec.js", "file": "cypress/integration/SF/d-product/15HPP_BankTransfer_Stripe.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "49f69ce0-559d-4710-aafb-e07fb9f4b876", "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": 200060, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#apps_flow').click({\n force: true\n});\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('.ni-settings').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 Configurations').click({\n force: true\n });\n }\n});\ncy.visit('https://test.subscriptionflow.com');\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Stripe').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Name\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').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 force: true\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 Plans\"]').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').select('Sales (25)', {\n force: true\n });\n cy.get('#list_price-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": {}, "uuid": "dcdcb153-dc3f-4b3b-b41c-1cab608b53b2", "parentUUID": "49f69ce0-559d-4710-aafb-e07fb9f4b876", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "dcdcb153-dc3f-4b3b-b41c-1cab608b53b2" ], "failures": [], "pending": [], "skipped": [], "duration": 200060, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "add0804c-3e71-4d19-ae77-8d001c34da94", "title": "", "fullFile": "cypress/integration/SF/d-product/18HPP_Trial_PayPalExpressCheckout.spec.js", "file": "cypress/integration/SF/d-product/18HPP_Trial_PayPalExpressCheckout.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "66285dff-c5f7-4b00-b85d-f1d8a48e546c", "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": 178383, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#apps_flow').click({\n force: true\n});\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('.ni-settings').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 Configurations').click({\n force: true\n });\n }\n});\ncy.visit('https://test.subscriptionflow.com');\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('PayPal Express Checkout').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Name\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').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 force: true\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 Plans\"]').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').select('Sales (25)', {\n force: true\n });\n cy.get('#list_price-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": {}, "uuid": "4746445d-ad48-45df-ab99-46d47d3ee1f5", "parentUUID": "66285dff-c5f7-4b00-b85d-f1d8a48e546c", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "4746445d-ad48-45df-ab99-46d47d3ee1f5" ], "failures": [], "pending": [], "skipped": [], "duration": 178383, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "191e92aa-184c-4347-ae1d-b96920123e20", "title": "", "fullFile": "cypress/integration/SF/d-product/19HPP_PayPalExpressCheckout.spec.js", "file": "cypress/integration/SF/d-product/19HPP_PayPalExpressCheckout.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "e3a2b8c2-8b91-4fef-ad5c-e1224fc9798e", "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": 180947, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#apps_flow').click({\n force: true\n});\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('.ni-settings').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 Configurations').click({\n force: true\n });\n }\n});\ncy.visit('https://test.subscriptionflow.com');\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('PayPal Express Checkout').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Name\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').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 force: true\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 Plans\"]').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').select('Sales (25)', {\n force: true\n });\n cy.get('#list_price-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": {}, "uuid": "c1e6ca9c-cef4-4f9c-9104-f86724a58d71", "parentUUID": "e3a2b8c2-8b91-4fef-ad5c-e1224fc9798e", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "c1e6ca9c-cef4-4f9c-9104-f86724a58d71" ], "failures": [], "pending": [], "skipped": [], "duration": 180947, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "47d7bb3d-433d-4e15-ba80-f1002a5b93a9", "title": "", "fullFile": "cypress/integration/SF/e-plan/cancel-plan.js", "file": "cypress/integration/SF/e-plan/cancel-plan.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "f1e889b0-107d-4cf6-9d8f-461424121e6a", "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": 12821, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit('/en/plans');\ncy.check();\ncy.contains('Create Plan').click({\n force: true\n});\ncy.url().should('include', '/plans/create');\nvar todaysDate = Cypress.moment().format('MM/DD/YYYY');\nvar addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\nvar endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\ncy.get('#name-input').type('cyp_test_plan');\ncy.wait(50);\ncy.location('pathname').should('include', 'plans');\ncy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n});\ncy.get('#effective_end_date-input').type(endDate, {\n force: true\n});\ncy.get('textarea[name=\"description\"]').type('this is description', {\n force: true\n});\ncy.get('a.btn').contains('Cancel').click({\n force: true\n});\ncy.url().should('include', '/plans');", "err": {}, "uuid": "789656f9-8e85-4360-ae78-dfe03f480151", "parentUUID": "f1e889b0-107d-4cf6-9d8f-461424121e6a", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "789656f9-8e85-4360-ae78-dfe03f480151" ], "failures": [], "pending": [], "skipped": [], "duration": 12821, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "b211e3ba-cf9d-455e-b5bf-a7d844b9465c", "title": "", "fullFile": "cypress/integration/SF/e-plan/create-plan.js", "file": "cypress/integration/SF/e-plan/create-plan.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "63cdde1d-a0a8-4271-91b1-16ad64a07763", "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": 13533, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit('/en/plans');\ncy.check();\ncy.contains('Create Plan').click({\n force: true\n});\ncy.url().should('include', '/plans/create');\nvar todaysDate = Cypress.moment().format('MM/DD/YYYY');\nvar addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\nvar endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\ncy.get('#name-input').type('cyp_test_plan');\ncy.wait(50);\ncy.location('pathname').should('include', 'plans');\ncy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n});\ncy.get('#effective_end_date-input').type(endDate, {\n force: true\n});\ncy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n});\ncy.get('.col-md-12 > .btn-create').click({\n force: true\n});\ncy.location('pathname').should('include', 'plan-detail');\ncy.get('.page-title').should('contain', 'Cyp_test_plan');", "err": {}, "uuid": "9bf4cdda-d8e0-4bdb-b1a4-68a315dbdb67", "parentUUID": "63cdde1d-a0a8-4271-91b1-16ad64a07763", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "9bf4cdda-d8e0-4bdb-b1a4-68a315dbdb67" ], "failures": [], "pending": [], "skipped": [], "duration": 13533, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "6439701f-ebc7-4719-9146-1ea9a745a6bd", "title": "", "fullFile": "cypress/integration/SF/f-coupon/cancel-coupon.js", "file": "cypress/integration/SF/f-coupon/cancel-coupon.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "47b31868-525f-4fc1-aa93-9206c11a8310", "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": 23444, "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(5000);\ncy.get('#select2-plan_id-input-results li').contains('Test Plan').click({\n force: true\n});\ncy.get('#select2-assigned_to-input-container').click({\n force: true\n});\ncy.wait(5000);\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: Expected to find content: 'Create Coupon' within the element: [ <span>, 253 more... ] but never did.", "estack": "AssertionError: Timed out retrying: Expected to find content: 'Create Coupon' within the element: [ <span>, 253 more... ] but never did.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/f-coupon/cancel-coupon.js:108:20)", "diff": null }, "uuid": "dbc5282b-7f5c-4b22-a753-322a725c458f", "parentUUID": "47b31868-525f-4fc1-aa93-9206c11a8310", "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": 20858, "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');\ncy.get('#discount_value-input').type('50');\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-plan_id-input-results li').contains('Test Plan').click({\n force: true\n});\ncy.get('#select2-assigned_to-input-container').click({\n force: true\n});\ncy.wait(5000);\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: Expected to find content: 'Create Coupon' within the element: [ <span>, 253 more... ] but never did.", "estack": "AssertionError: Timed out retrying: Expected to find content: 'Create Coupon' within the element: [ <span>, 253 more... ] but never did.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/f-coupon/cancel-coupon.js:156:20)", "diff": null }, "uuid": "221deec6-c0ca-4d11-82f5-9ac85db22be0", "parentUUID": "47b31868-525f-4fc1-aa93-9206c11a8310", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "dbc5282b-7f5c-4b22-a753-322a725c458f", "221deec6-c0ca-4d11-82f5-9ac85db22be0" ], "pending": [], "skipped": [], "duration": 44302, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "85ffc804-3c95-42fc-8fd2-c72b87e49eb3", "title": "", "fullFile": "cypress/integration/SF/f-coupon/create-coupon.js", "file": "cypress/integration/SF/f-coupon/create-coupon.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "7024e493-e8d2-468e-a492-cb33414ce579", "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": 10815, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/coupons\");\ncy.check();\ncy.contains('Create Coupon').click({\n force: true\n});\ncy.url().should('include', '/coupons/create');\ncy.get('#code-input').type('ABC', {\n force: true\n});\ncy.get('#coupon_add_form textarea').type('Adding Coupon');\ncy.get('#availability-input').select('Regular');\ncy.get('#discount_type-input').select('Percentage');\ncy.get('#discount_value-input').type('50');\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-plan_id-input-results li').contains('Test Plan').click({\n force: true\n});\ncy.get('#apply_on_onetime-input').check({\n force: true\n});\ncy.get('#apply_on_recurring-input').check({\n force: true\n});\ncy.get('#apply_on_usage-input').check({\n force: true\n});\ncy.get('.col-md-12 > .btn-create').click({\n force: true\n});\ncy.get('.invalid-feedback').contains('This Field is Required').should('be.visible');\ncy.get('#name-input').type('Test Coupon', {\n force: true\n});\ncy.get('.col-md-12 > .btn-create').click({\n force: true\n});\ncy.url().should('include', '/coupon-detail');", "err": { "message": "AssertionError: Timed out retrying: Expected to find content: 'Create Coupon' but never did.", "estack": "AssertionError: Timed out retrying: Expected to find content: 'Create Coupon' but never did.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/f-coupon/create-coupon.js:103:8)", "diff": null }, "uuid": "118532aa-3d59-4819-80fe-e7fe52786fe7", "parentUUID": "7024e493-e8d2-468e-a492-cb33414ce579", "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": 7151, "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');\ncy.get('#discount_value-input').type('50');\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-plan_id-input-results li').contains('Test Plan').click({\n force: true\n});\ncy.get('#apply_on_onetime-input').check({\n force: true\n});\ncy.get('#apply_on_recurring-input').check({\n force: true\n});\ncy.get('#apply_on_usage-input').check({\n force: true\n});\ncy.get('.col-md-12 > .btn-create').click({\n force: true\n});\ncy.get('.invalid-feedback').contains('This Field is Required').should('be.visible');\ncy.get('#name-input').type('Test Coupon 2', {\n force: true\n});\ncy.get('.col-md-12 > .btn-create').click({\n force: true\n});\ncy.url().should('include', '/coupon-detail');", "err": { "message": "AssertionError: Timed out retrying: Expected to find content: 'Create Coupon' but never did.", "estack": "AssertionError: Timed out retrying: Expected to find content: 'Create Coupon' but never did.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/f-coupon/create-coupon.js:145:8)", "diff": null }, "uuid": "895a2755-20bf-43c3-9334-8fcd391e5741", "parentUUID": "7024e493-e8d2-468e-a492-cb33414ce579", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "118532aa-3d59-4819-80fe-e7fe52786fe7", "895a2755-20bf-43c3-9334-8fcd391e5741" ], "pending": [], "skipped": [], "duration": 17966, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "fb6e839c-9fd1-4c31-8cf2-2219a816648b", "title": "", "fullFile": "cypress/integration/SF/g-customer/01customer_page.spec.js", "file": "cypress/integration/SF/g-customer/01customer_page.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "d143daf9-74f4-4dde-a70b-590c5e53434f", "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": 20189, "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(5000);\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(5000);\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.contains('Create Customer').should('be.visible');\ncy.get('#list-table_filter').get('input').should('be.visible');\ncy.get('#sidebar-search').should('exist');\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').should('be.visible');\n cy.contains('Import').should('be.visible');\n cy.contains('Export').should('be.visible');\n});\ncy.get('.dataTables_scrollHead .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: expected '<a>' to be 'visible'\n\nThis element `<a>` is not visible because its parent `<div.row.table-actions.hide>` has CSS property: `display: none`", "estack": "AssertionError: Timed out retrying: expected '<a>' to be 'visible'\n\nThis element `<a>` is not visible because its parent `<div.row.table-actions.hide>` has CSS property: `display: none`\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/01customer_page.spec.js:141:34)", "diff": null }, "uuid": "0740076a-32f1-4685-9788-829f17d8a890", "parentUUID": "d143daf9-74f4-4dde-a70b-590c5e53434f", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "0740076a-32f1-4685-9788-829f17d8a890" ], "pending": [], "skipped": [], "duration": 20189, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "50f5bc2d-2d9c-433c-9b1c-5f50da5700a5", "title": "", "fullFile": "cypress/integration/SF/g-customer/02create_customer_spec.js", "file": "cypress/integration/SF/g-customer/02create_customer_spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "a05a2453-f049-4ca8-85bc-570dcb3d3870", "title": "Create Customer creation", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "When: I click on Customers -> Customers from the main nav", "fullTitle": "Create Customer creation When: I click on Customers -> Customers from the main nav", "timedOut": null, "duration": 104362, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.contains('Create Customer').click({\n force: true\n});\ncy.url().should('include', '/customers/create');\ncy.contains('Basic Information').should('be.visible');\ncy.contains('Primary Contact').should('be.visible');\ncy.get('.card-header.border-bottom').contains('Tax Information').should('exist');\ncy.contains('Address Information').should('be.visible');\ncy.get('.col-md-12 .btn.btn-create').contains(\"Save\").should('be.visible');\ncy.contains('Cancel').should('be.visible');\ncy.get('#name-input').type('Test Customer', {\n force: true\n}).should('have.value', 'Test Customer');\ncy.get('#name-input').clear(); // cy.get('#select2-assigned_group_id-input-container').click({force:true})\n// cy.wait(5000)\n// cy.get('#select2-assigned_group_id-input-container').click({force:true})\n// cy.wait(5000)\n// cy.get('#select2-assigned_group_id-input-results li:first-child').click({force:true})\ncy.wait(5000);\ncy.get('#select2-assigned_to-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-assigned_to-input-results li:first-child').click({\n force: true\n});\ncy.get('#select2-parent_id-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-parent_id-input-results li:first-child').click({\n force: true\n});\ncy.get('#contact_salutation-input').select('Mr.', {\n force: true\n});\ncy.get('#contact_first_name-input').type('First Test', {\n force: true\n}).should('have.value', 'First Test');\ncy.get('#contact_last_name-input').type('Last Test', {\n force: true\n}).should('have.value', 'Last Test');\nvar rand = userID_Alpha_Numeric();\ncy.get('.col-10.col-sm-7 input[type=\"email\"]').type(rand, {\n force: true\n}).should('have.value', rand);\ncy.get('#phone_number-input').type(\"1dfgdfg4\", {\n force: true\n}).should('have.value', '1dfgdfg4');\ncy.get('#po_number-input').type(\"1dfgdfg4\", {\n force: true\n}).should('have.value', '1dfgdfg4');\ncy.get('textarea[name=\"notes\"').type(\"NOTES\", {\n force: true\n}).should('have.value', 'NOTES');\ncy.get('#legal_entity-input').select('North America', {\n force: true\n});\ncy.get('#billing_cycle_day-input').select('4th of the Month', {\n force: true\n});\ncy.get('#terms-input').select('Net0', {\n force: true\n});\ncy.get('label[for=\"auto_charge-input\"]').click({\n force: true\n});\ncy.get('.card-header.border-bottom a .m-0 .fa').click({\n force: true\n});\ncy.get('#certificate_id-input').should('be.hidden');\ncy.get('#certificate_type-input').should('be.hidden');\ncy.get('#issuing_jurisdiction-input').should('be.hidden');\ncy.get('#entity_use_code-input').should('be.hidden');\ncy.get('textarea[name=\"description\"]').should('be.hidden');\ncy.get('label[for=\"tax_exempt-input\"]').click({\n force: true\n});\ncy.get('#certificate_id-input').should('be.visible').type('jshbd434', {\n force: true\n}).should('have.value', 'jshbd434');\ncy.get('#certificate_type-input').should('be.visible').type('jshbd434', {\n force: true\n}).should('have.value', 'jshbd434');\ncy.get('#issuing_jurisdiction-input').should('be.visible').type('jshbd434', {\n force: true\n}).should('have.value', 'jshbd434');\ncy.get('#entity_use_code-input').should('be.visible').select('Federal government', {\n force: true\n});\ncy.get('textarea[name=\"description\"]').should('be.visible').type('jshbd434', {\n force: true\n}).should('have.value', 'jshbd434'); // cy.get('#select2-tax_company-input-container').click({force: true});\n// cy.wait(5000);\n// cy.get('#select2-tax_company-input-container-results li:first-child').click({force: true}) \ncy.get('#vat_id-input').type('jshbd434', {\n force: true\n}).should('have.value', 'jshbd434');\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(5000);\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(5000);\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(5000);\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(5000);\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(5000);\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(5000);\ncy.get('#select2-shipping_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n}).then(function () {\n cy.url().then(function ($myUrl) {\n if ($myUrl == \"https://test.subscriptionflow.com/en/customers/create\") {\n cy.get(\".col-10.col-sm-7 .invalid-feedback\").should('be.visible');\n cy.get('.col-10 > .invalid-feedback').should('be.visible');\n cy.get(':nth-child(3) > .form-group > .invalid-feedback').should('be.visible');\n }\n });\n});\ncy.get('.col-10.col-sm-7 input[type=\"email\"]').type('@mail.com', {\n force: true\n});\ncy.get('#name-input').type('Test Customer', {\n force: true\n});\ncy.get('#phone_number-input').clear({\n force: true\n}).type(\"03004872354\", {\n force: true\n});\ncy.get('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n});\ncy.get('.page-title').should('contain', 'Test Customer');\ncy.url().should('include', '/customer-detail');", "err": {}, "uuid": "a887fcca-2371-4b73-b002-3d177858ede9", "parentUUID": "a05a2453-f049-4ca8-85bc-570dcb3d3870", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "a887fcca-2371-4b73-b002-3d177858ede9" ], "failures": [], "pending": [], "skipped": [], "duration": 104362, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "406e9a5e-0408-4347-8721-7d917fb80a39", "title": "", "fullFile": "cypress/integration/SF/g-customer/03cancel_customer_spec.js", "file": "cypress/integration/SF/g-customer/03cancel_customer_spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "5130d7df-84f6-49dd-9c8f-764b85d35440", "title": "Cancel Customer creation", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "When: I click on Customers -> Customers from the main nav", "fullTitle": "Cancel Customer creation When: I click on Customers -> Customers from the main nav", "timedOut": null, "duration": 101145, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.contains('Create Customer').click({\n force: true\n});\ncy.url().should('include', '/customers/create');\ncy.contains('Basic Information').should('be.visible');\ncy.contains('Primary Contact').should('be.visible');\ncy.get('.card-header.border-bottom').contains('Tax Information').should('exist');\ncy.contains('Address Information').should('be.visible');\ncy.get('.col-md-12 .btn.btn-create').contains(\"Save\").should('be.visible');\ncy.contains('Cancel').should('be.visible');\ncy.get('#name-input').type('Test Customer', {\n force: true\n}).should('have.value', 'Test Customer');\ncy.get('#name-input').clear(); // cy.get('#select2-assigned_group_id-input-container').click({force:true})\n// cy.wait(5000)\n// cy.get('#select2-assigned_group_id-input-container').click({force:true})\n// cy.wait(5000)\n// cy.get('#select2-assigned_group_id-input-results li:first-child').click({force:true})\ncy.wait(5000);\ncy.get('#select2-assigned_to-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-assigned_to-input-results li:first-child').click({\n force: true\n});\ncy.get('#select2-parent_id-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-parent_id-input-results li:first-child').click({\n force: true\n});\ncy.get('#contact_salutation-input').select('Mr.', {\n force: true\n});\ncy.get('#contact_first_name-input').type('First Test', {\n force: true\n}).should('have.value', 'First Test');\ncy.get('#contact_last_name-input').type('Last Test', {\n force: true\n}).should('have.value', 'Last Test');\nvar rand = userID_Alpha_Numeric();\ncy.get('.col-10.col-sm-7 input[type=\"email\"]').type(rand, {\n force: true\n}).should('have.value', rand);\ncy.get('#phone_number-input').type(\"1dfgdfg4\", {\n force: true\n}).should('have.value', '1dfgdfg4');\ncy.get('#po_number-input').type(\"1dfgdfg4\", {\n force: true\n}).should('have.value', '1dfgdfg4');\ncy.get('textarea[name=\"notes\"').type(\"NOTES\", {\n force: true\n}).should('have.value', 'NOTES');\ncy.get('#legal_entity-input').select('North America', {\n force: true\n});\ncy.get('#billing_cycle_day-input').select('4th of the Month', {\n force: true\n});\ncy.get('#terms-input').select('Net0', {\n force: true\n});\ncy.get('label[for=\"auto_charge-input\"]').click({\n force: true\n});\ncy.get('.card-header.border-bottom a .m-0 .fa').click({\n force: true\n});\ncy.get('#certificate_id-input').should('be.hidden');\ncy.get('#certificate_type-input').should('be.hidden');\ncy.get('#issuing_jurisdiction-input').should('be.hidden');\ncy.get('#entity_use_code-input').should('be.hidden');\ncy.get('textarea[name=\"description\"]').should('be.hidden');\ncy.get('label[for=\"tax_exempt-input\"]').click({\n force: true\n});\ncy.get('#certificate_id-input').should('be.visible').type('jshbd434', {\n force: true\n}).should('have.value', 'jshbd434');\ncy.get('#certificate_type-input').should('be.visible').type('jshbd434', {\n force: true\n}).should('have.value', 'jshbd434');\ncy.get('#issuing_jurisdiction-input').should('be.visible').type('jshbd434', {\n force: true\n}).should('have.value', 'jshbd434');\ncy.get('#entity_use_code-input').should('be.visible').select('Federal government', {\n force: true\n});\ncy.get('textarea[name=\"description\"]').should('be.visible').type('jshbd434', {\n force: true\n}).should('have.value', 'jshbd434'); // cy.get('#select2-tax_company-input-container').click({force: true});\n// cy.wait(5000);\n// cy.get('#select2-tax_company-input-container-results li:first-child').click({force: true}) \ncy.get('#vat_id-input').type('jshbd434', {\n force: true\n}).should('have.value', 'jshbd434');\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(5000);\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(5000);\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(5000);\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(5000);\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(5000);\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(5000);\ncy.get('#select2-shipping_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n}).then(function () {\n cy.url().then(function ($myUrl) {\n if ($myUrl == \"https://test.subscriptionflow.com/en/customers/create\") {\n cy.get(\".col-10.col-sm-7 .invalid-feedback\").should('be.visible');\n cy.get('.col-10 > .invalid-feedback').should('be.visible');\n cy.get(':nth-child(3) > .form-group > .invalid-feedback').should('be.visible');\n }\n });\n});\ncy.contains('Cancel').click({\n force: true\n});\ncy.url().should('include', '/customers');", "err": {}, "uuid": "34148e1b-02cb-4fac-a2c3-8bd8312ec276", "parentUUID": "5130d7df-84f6-49dd-9c8f-764b85d35440", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "34148e1b-02cb-4fac-a2c3-8bd8312ec276" ], "failures": [], "pending": [], "skipped": [], "duration": 101145, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "4d86a250-7fe4-4787-8a08-34ff1a342975", "title": "", "fullFile": "cypress/integration/SF/g-customer/04search_customer.spec.js", "file": "cypress/integration/SF/g-customer/04search_customer.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "d6d7ebf6-c82b-4253-b359-3ab3d1eac0ef", "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": 37758, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('input[type=\"search\"]').type('Tes', {\n force: true\n}).then(function () {\n cy.wait(10000);\n var k = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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('input[type=\"search\"]').clear().type('Test Customer', {\n force: true\n}).then(function () {\n cy.wait(10000);\n var m = 0;\n var n;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Name\") {\n n = \"[data-sfuniqueid = dataTable__table-td-\" + m + \"]\";\n cy.get(n).its('length').then(function ($length) {\n for (var z = 0; z < $length - 1; z++) {\n cy.get(n).eq(z).then(function ($element) {\n expect($element.text()).to.include('Test Customer');\n });\n }\n });\n } else {\n m = m + 1;\n }\n });\n});", "err": {}, "uuid": "d2771f74-bd4f-47b1-bcac-85ac6e9052ca", "parentUUID": "d6d7ebf6-c82b-4253-b359-3ab3d1eac0ef", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "d2771f74-bd4f-47b1-bcac-85ac6e9052ca" ], "failures": [], "pending": [], "skipped": [], "duration": 37758, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "a3da3aff-43ad-4a31-ac04-f0edab4cbe4e", "title": "", "fullFile": "cypress/integration/SF/g-customer/05delete_customer.spec.js", "file": "cypress/integration/SF/g-customer/05delete_customer.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "74a79a82-46a9-4380-a360-8776c9b42ce1", "title": "Delete a customer", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Should delete customers", "fullTitle": "Delete a customer Should delete customers", "timedOut": null, "duration": 185575, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\nvar m = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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(30000);\n cy.get(j).eq(5).invoke('text').should('not.eq', $element.text());\n });\n });\n } else {\n m = m + 1;\n }\n});\ncy.get('#list-table_info').then(function ($data) {\n for (var i = 0; i < 6; i++) {\n cy.get('tbody tr td input').eq(i).click({\n force: true\n });\n }\n cy.contains('Actions').click({\n force: true\n });\n cy.contains('Delete').click({\n force: true\n });\n cy.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(120000);\n });\n cy.get('#list-table_info').invoke('text').should('not.eq', $data.text());\n});\nvar z = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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.on('window:confirm', function () {\n return false;\n }).then(function () {\n cy.get('.dataTables_scrollHead th').each(function (element) {\n cy.get(j).eq(5).invoke('text').should('include', $element.text());\n });\n });\n });\n } else {\n z = z + 1;\n }\n});\ncy.wait(10000);\ncy.get('#list-table_info').then(function ($data) {\n for (var i = 0; i < 6; i++) {\n cy.get('tbody tr td input').eq(i).click({\n force: true\n });\n }\n cy.contains('Actions').click({\n force: true\n });\n cy.contains('Delete').click({\n force: true\n });\n cy.on('window:confirm', function () {\n return false;\n });\n cy.get('#list-table_info').invoke('text').should('include', $data.text());\n});", "err": {}, "uuid": "23f340f0-be94-401e-aa4a-c0c78e3a0a75", "parentUUID": "74a79a82-46a9-4380-a360-8776c9b42ce1", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "23f340f0-be94-401e-aa4a-c0c78e3a0a75" ], "failures": [], "pending": [], "skipped": [], "duration": 185575, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "43ed0e96-544b-41ba-8304-6d153b66a390", "title": "", "fullFile": "cypress/integration/SF/g-customer/06edit_customer.spec.js", "file": "cypress/integration/SF/g-customer/06edit_customer.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "21e129cb-8243-4fa3-ac08-a7a700da15c8", "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": 28696, "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).click({\n force: true\n});\ncy.url().should('contain', '/edit');\ncy.get('#name-input').then(function ($element) {\n cy.get($element).type(' Updated', {\n force: true\n });\n cy.get('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n cy.get('#contact_first_name-input').type('Test', {\n force: true\n });\n cy.get('#contact_last_name-input').type('Test', {\n force: true\n });\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').type(rand + '@mail.com', {\n force: true\n });\n cy.get('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n });\n cy.url().should('contain', '/customer-detail/');\n cy.get('.page-title.p-title').should('contain', $element.text() + ' Updated');\n cy.get('.col-6.col-md-4.detail-text span').first().should('contain', $element.text() + 'Updated');\n});", "err": { "message": "AssertionError: Timed out retrying: expected '<span>' to contain 'Updated'", "estack": "AssertionError: Timed out retrying: expected '<span>' to contain 'Updated'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/06edit_customer.spec.js:134:58)", "diff": null }, "uuid": "a2040768-4e63-4a59-8304-1a6e038f9f18", "parentUUID": "21e129cb-8243-4fa3-ac08-a7a700da15c8", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "a2040768-4e63-4a59-8304-1a6e038f9f18" ], "pending": [], "skipped": [], "duration": 28696, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "46a033b9-6fdc-4537-ab83-6936bd7f66c9", "title": "", "fullFile": "cypress/integration/SF/g-customer/07clear_selection.spec.js", "file": "cypress/integration/SF/g-customer/07clear_selection.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "5d6948fd-c8c0-4a04-9b9d-f1f732ab0d25", "title": "Clear Selections", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Unselect all selected entries", "fullTitle": "Clear Selections Unselect all selected entries", "timedOut": null, "duration": 18420, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.dataTables_scrollHead .check-all-records').click({\n force: true\n});\ncy.contains('Actions').should('be.visible');\ncy.get('.selected-rows a').should('be.visible').click({\n force: true\n});\ncy.get('tbody tr td input').then(function ($element) {\n for (var i = 0; i < $element.length; i++) {\n cy.get('tbody tr td input').eq(i).should('not.be.checked');\n }\n});", "err": {}, "uuid": "b853f641-0e77-4825-8c0b-cadac3571367", "parentUUID": "5d6948fd-c8c0-4a04-9b9d-f1f732ab0d25", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "b853f641-0e77-4825-8c0b-cadac3571367" ], "failures": [], "pending": [], "skipped": [], "duration": 18420, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "1728f879-9aa4-45e9-9b87-c7e16553e67b", "title": "", "fullFile": "cypress/integration/SF/g-customer/08aesc_desc.spec.js", "file": "cypress/integration/SF/g-customer/08aesc_desc.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "a3665cb8-fc98-4455-80c9-faa5c64c22f9", "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": 46438, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#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(10000);\nvar names1 = [];\nvar check1 = [];\nvar names2 = [];\nvar check2 = [];\ncy.get('.dataTables_scrollHead th').contains('Name').click({\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary span').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 a.toLowerCase().localeCompare(b.toLowerCase());\n });\n });\n});\ncy.wrap(names1).should(\"deep.equal\", check1);\ncy.get('.dataTables_scrollHead th').contains('Name').click({\n force: true\n}).then(function () {\n cy.wait(7000);\n cy.get('.link-primary span').each(function (elements) {\n // var normalizedelement = normalizeText(elements.text())\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 = 0;\nvar j;\ncy.get('.dataTables_scrollHead 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(element.text());\n checkup1.push(element.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);\nvar x = 0;\nvar y;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Updated At\") {\n y = \"[data-sfuniqueid = dataTable__table-td-\" + x + \"]\";\n console.log(y);\n cy.get(j).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": {}, "uuid": "003591cb-a5f2-4c13-88c5-ee0dc8c5a483", "parentUUID": "a3665cb8-fc98-4455-80c9-faa5c64c22f9", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "003591cb-a5f2-4c13-88c5-ee0dc8c5a483" ], "failures": [], "pending": [], "skipped": [], "duration": 46438, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "57bd7862-5f88-4a40-b1f4-da5ec160a29d", "title": "", "fullFile": "cypress/integration/SF/g-customer/09filter_by_name.spec.js", "file": "cypress/integration/SF/g-customer/09filter_by_name.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "302813cf-5a5e-4243-8e26-8a3425c4bb1f", "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": 112412, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Name\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Mary Girl', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.link-primary').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('.link-primary span').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.eq('marygirl');\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('.link-primary').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('.link-primary span').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.not.eq('marygirl');\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('.link-primary').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('.link-primary span').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.include('ma');\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('.link-primary').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('.link-primary span').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.not.include('ma');\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('.link-primary').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('.link-primary span').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 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('.link-primary').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('.link-primary span').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 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('.link-primary').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('.link-primary span').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.eq('');\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('.link-primary').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('.link-primary span').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": {}, "uuid": "27e78a70-6817-4244-982b-63e182e54254", "parentUUID": "302813cf-5a5e-4243-8e26-8a3425c4bb1f", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "27e78a70-6817-4244-982b-63e182e54254" ], "failures": [], "pending": [], "skipped": [], "duration": 112412, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "7344e74d-ddda-452b-a41a-d00c4596593d", "title": "", "fullFile": "cypress/integration/SF/g-customer/10filter_by_customernumber.spec.js", "file": "cypress/integration/SF/g-customer/10filter_by_customernumber.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "38319480-4797-4528-b3de-f49e0eab9328", "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": 45617, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#customer_number').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Customer Number\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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_000167', {\n 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.eq('CUST_000167');\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_number]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('CUST_000167', {\n 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('CUST_000167');\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 = /^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 expect(elements.text()).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(j).each(function (elements) {\n expect(elements.text()).to.eq('');\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: Expected to find element: `[data-sfuniqueid = dataTable__table-td-6]`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `[data-sfuniqueid = dataTable__table-td-6]`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/10filter_by_customernumber.spec.js:154:16)", "diff": null }, "uuid": "a3770f7b-602b-4ad2-8c10-796627a599ac", "parentUUID": "38319480-4797-4528-b3de-f49e0eab9328", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "a3770f7b-602b-4ad2-8c10-796627a599ac" ], "pending": [], "skipped": [], "duration": 45617, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "035388c9-48f9-4400-88f9-5b082141e73c", "title": "", "fullFile": "cypress/integration/SF/g-customer/11filter_by_phonenumber.spec.js", "file": "cypress/integration/SF/g-customer/11filter_by_phonenumber.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "d3f2fbee-faf4-4271-8338-c6ddf43e6486", "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": 116664, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#phone_number').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Phone Number\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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(j).each(function (elements) {\n expect(elements.text()).to.eq(' \\n 03006789363\\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(j).each(function (elements) {\n expect(elements.text()).to.not.eq(' \\n 03006789363\\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(j).each(function (elements) {\n expect(elements.text()).to.not.include('6');\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(j).each(function (elements) {\n var reg = /^ \\n 03/;\n expect(elements.text()).to.match(reg);\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(j).each(function (elements) {\n var reg = /3\\n $/;\n expect(elements.text()).to.match(reg);\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(j).each(function (elements) {\n expect(elements.text()).to.eq(' \\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(j).each(function (elements) {\n expect(elements.text()).to.not.eq(' \\n \\n ');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": {}, "uuid": "51378e5b-ef83-4934-8f85-fc6c0bbcd1ee", "parentUUID": "d3f2fbee-faf4-4271-8338-c6ddf43e6486", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "51378e5b-ef83-4934-8f85-fc6c0bbcd1ee" ], "failures": [], "pending": [], "skipped": [], "duration": 116664, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "51407d99-f647-4cb5-a7cf-91d98e8190b0", "title": "", "fullFile": "cypress/integration/SF/g-customer/12filter_by_email.spec.js", "file": "cypress/integration/SF/g-customer/12filter_by_email.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "f75070bd-9b8e-474d-9091-b3f9a99a624f", "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": 349257, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#email').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(18000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Email\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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('mary@girl.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(30000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.eq('mary@girl.com');\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('mary@girl.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(30000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('mary@girl.com');\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('mailinator', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(30000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('mailinator');\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('mailinator', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(30000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('mailinator');\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('ma', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(30000);\n cy.get(j).each(function (elements) {\n var reg = /^ma/;\n expect(elements.text()).to.match(reg);\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(j).each(function (elements) {\n var reg = /r.com$/;\n expect(elements.text()).to.match(reg);\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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.eq('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(50000);\n cy.get('td').each(function (rows) {\n if (rows.text() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": {}, "uuid": "51702dfd-8372-41a8-a68d-4cc1086f0c89", "parentUUID": "f75070bd-9b8e-474d-9091-b3f9a99a624f", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "51702dfd-8372-41a8-a68d-4cc1086f0c89" ], "failures": [], "pending": [], "skipped": [], "duration": 349257, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "5c688b4f-06c5-4b72-ab05-4a1a39e130df", "title": "", "fullFile": "cypress/integration/SF/g-customer/13filter_by_PO.spec.js", "file": "cypress/integration/SF/g-customer/13filter_by_PO.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "75265223-aff3-46a4-ac76-af4098ddb57f", "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": 44846, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#po_number').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"PO Number\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"PO Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[po_number]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('808', {\n 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.eq('808');\n });\n cy.get('.filerSelect [name=\"filter_condition[po_number]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('808', {\n 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('808');\n });\n cy.get('.filerSelect [name=\"filter_condition[po_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[po_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[po_number]\"]').select(\"starts 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(j).each(function (elements) {\n var reg = /^8/;\n expect(elements.text()).to.match(reg);\n });\n cy.get('.filerSelect [name=\"filter_condition[po_number]\"]').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(j).each(function (elements) {\n var reg = /8$/;\n expect(elements.text()).to.match(reg);\n });\n cy.get('.filerSelect [name=\"filter_condition[po_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(j).each(function (elements) {\n expect(elements.text()).to.eq('');\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(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: Expected to find element: `[data-sfuniqueid = dataTable__table-td-9]`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `[data-sfuniqueid = dataTable__table-td-9]`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/13filter_by_PO.spec.js:154:16)", "diff": null }, "uuid": "27f119cb-d049-439f-b1ad-7d9924de7e60", "parentUUID": "75265223-aff3-46a4-ac76-af4098ddb57f", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "27f119cb-d049-439f-b1ad-7d9924de7e60" ], "pending": [], "skipped": [], "duration": 44846, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "636ee40d-c58c-4a05-917d-4bc2c710e5f8", "title": "", "fullFile": "cypress/integration/SF/g-customer/14filter_by_LegalEntity.spec.js", "file": "cypress/integration/SF/g-customer/14filter_by_LegalEntity.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "82fe1f5e-f80c-4e30-8d64-47b95e39fdaf", "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": 94623, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#legal_entity').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Legal Entity\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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(j).each(function (elements) {\n expect(elements.text()).to.eq('North America');\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(j).each(function (elements) {\n expect(elements.text()).to.not.eq('North America');\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(j).each(function (elements) {\n expect(elements.text()).to.include('North America');\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(j).each(function (elements) {\n expect(elements.text()).to.not.include('North America');\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(j).each(function (elements) {\n expect(elements.text()).to.eq('');\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(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": {}, "uuid": "3ae1eaea-467d-45bd-9060-bfeb96b9493a", "parentUUID": "82fe1f5e-f80c-4e30-8d64-47b95e39fdaf", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "3ae1eaea-467d-45bd-9060-bfeb96b9493a" ], "failures": [], "pending": [], "skipped": [], "duration": 94623, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "cdfca8d5-3383-46ea-a975-11d8d62d78dc", "title": "", "fullFile": "cypress/integration/SF/g-customer/15filter_by_billingCycle.spec.js", "file": "cypress/integration/SF/g-customer/15filter_by_billingCycle.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "47980459-c15f-483f-8e22-510cd89f624c", "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": 95111, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_cycle_day').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing Cycle Day\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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]\"]').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(j).each(function (elements) {\n expect(elements.text()).to.eq('1');\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(j).each(function (elements) {\n expect(elements.text()).to.not.eq('1');\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(j).each(function (elements) {\n expect(elements.text()).to.eq('1');\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(j).each(function (elements) {\n expect(elements.text()).to.not.eq('1');\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(j).each(function (elements) {\n expect(elements.text()).to.eq('');\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(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": {}, "uuid": "7af3c998-159e-4ee2-89a0-e8c69c60e1ac", "parentUUID": "47980459-c15f-483f-8e22-510cd89f624c", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "7af3c998-159e-4ee2-89a0-e8c69c60e1ac" ], "failures": [], "pending": [], "skipped": [], "duration": 95111, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "333a187e-e5e9-4f61-9c38-92423915505f", "title": "", "fullFile": "cypress/integration/SF/g-customer/16filter_by_TaxExempt.spec.js", "file": "cypress/integration/SF/g-customer/16filter_by_TaxExempt.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "bb8598aa-906d-420c-9a63-7a63ac5e1d63", "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": 17998, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Tax Exempt\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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(j).each(function (elements) {\n cy.get(elements).should('have.class', 'fa-check');\n });\n cy.get('.filerSelect [name=\"filter_condition[tax_exempt]\"]').select(\"is not checked\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n cy.get(elements).should('have.class', 'fa-times');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": {}, "uuid": "390cb8ec-88df-4f0d-9f3a-b1359f010b9a", "parentUUID": "bb8598aa-906d-420c-9a63-7a63ac5e1d63", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "390cb8ec-88df-4f0d-9f3a-b1359f010b9a" ], "failures": [], "pending": [], "skipped": [], "duration": 17998, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "4d5da1ac-366c-458b-9c2e-87234607ef91", "title": "", "fullFile": "cypress/integration/SF/g-customer/17filter_by_certificateid.spec.js", "file": "cypress/integration/SF/g-customer/17filter_by_certificateid.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "e86876ae-1634-46f0-b016-ced6633ea67b", "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": 115468, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#certificate_id').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Certificate ID\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('jkjhkj');\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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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(j).each(function (elements) {\n var reg = /^jk/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\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(j).each(function (elements) {\n var reg = /hkj$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('');\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": {}, "uuid": "b1a00cc0-094b-4d49-9913-e95169e86818", "parentUUID": "e86876ae-1634-46f0-b016-ced6633ea67b", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "b1a00cc0-094b-4d49-9913-e95169e86818" ], "failures": [], "pending": [], "skipped": [], "duration": 115468, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "29f8cfa8-c8b4-4c42-80b6-03ff8d328ae0", "title": "", "fullFile": "cypress/integration/SF/g-customer/18filter_by_certificatetype.spec.js", "file": "cypress/integration/SF/g-customer/18filter_by_certificatetype.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "38df0179-72ce-41cc-b739-870b16bd200f", "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": 115238, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#certificate_type').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Certificate Type\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('jhkjjhk');\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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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[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(j).each(function (elements) {\n var reg = /hk$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('');\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": {}, "uuid": "74736c2c-a9c2-47a5-8118-e66d6341129c", "parentUUID": "38df0179-72ce-41cc-b739-870b16bd200f", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "74736c2c-a9c2-47a5-8118-e66d6341129c" ], "failures": [], "pending": [], "skipped": [], "duration": 115238, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "0727bbbb-1b4a-487a-a316-b6e6da7c83f4", "title": "", "fullFile": "cypress/integration/SF/g-customer/19filter_by_issuingJurisdiction.spec.js", "file": "cypress/integration/SF/g-customer/19filter_by_issuingJurisdiction.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "22ec01b2-2000-451d-8bd4-b4a28035b6cb", "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": 44912, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#issuing_jurisdiction').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Issuing Jurisdiction\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('jhkjhkjh');\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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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(j).each(function (elements) {\n var reg = /^jh/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\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(j).each(function (elements) {\n var reg = /jh$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('');\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).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: Expected to find element: `[data-sfuniqueid = dataTable__table-td-14]`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `[data-sfuniqueid = dataTable__table-td-14]`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/19filter_by_issuingJurisdiction.spec.js:154:16)", "diff": null }, "uuid": "ce718e7e-4fc0-42f9-889a-d759c9d1d03f", "parentUUID": "22ec01b2-2000-451d-8bd4-b4a28035b6cb", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "ce718e7e-4fc0-42f9-889a-d759c9d1d03f" ], "pending": [], "skipped": [], "duration": 44912, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "ee149ea0-887b-4d09-ba12-f79c53bfb43f", "title": "", "fullFile": "cypress/integration/SF/g-customer/20filter_by_entityUsecode.spec.js", "file": "cypress/integration/SF/g-customer/20filter_by_entityUsecode.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "f232eb6e-8fbd-410c-8d84-d03d002d9dfb", "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": 94276, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#entity_use_code').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Entity Use Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.eq('');\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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": {}, "uuid": "5d483ea4-1b10-4ea4-8016-d7e658b6c9ff", "parentUUID": "f232eb6e-8fbd-410c-8d84-d03d002d9dfb", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "5d483ea4-1b10-4ea4-8016-d7e658b6c9ff" ], "failures": [], "pending": [], "skipped": [], "duration": 94276, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "1e78ff6f-1b7b-4a6b-829c-fb9423efd93e", "title": "", "fullFile": "cypress/integration/SF/g-customer/21filter_by_Description.spec.js", "file": "cypress/integration/SF/g-customer/21filter_by_Description.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "5ccead42-ff3f-449e-8f8c-1d63491b02b1", "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": 115902, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#description').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Description\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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(\"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(j).each(function (elements) {\n var reg = /jk$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('');\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": {}, "uuid": "a9d894b4-5ca2-4f5a-bfa9-36b9efbd40ca", "parentUUID": "5ccead42-ff3f-449e-8f8c-1d63491b02b1", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "a9d894b4-5ca2-4f5a-bfa9-36b9efbd40ca" ], "failures": [], "pending": [], "skipped": [], "duration": 115902, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "aabb26cf-9a02-442b-918e-b89500f6f616", "title": "", "fullFile": "cypress/integration/SF/g-customer/22filter_by_TaxCompany.spec.js", "file": "cypress/integration/SF/g-customer/22filter_by_TaxCompany.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "b6eef5fe-85c6-4971-92fe-707b2157cd3d", "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": 44631, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#tax_company').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Tax Company\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Tax Company\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[tax_company]\"]').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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('');\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).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: Expected to find content: 'Techlo' within the element: <li.select2-results__option.select2-results__message> but never did.", "estack": "AssertionError: Timed out retrying: Expected to find content: 'Techlo' within the element: <li.select2-results__option.select2-results__message> but never did.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/22filter_by_TaxCompany.spec.js:151:61)", "diff": null }, "uuid": "b1e0704e-b7c7-44f0-9d8b-1c7d7289c4c4", "parentUUID": "b6eef5fe-85c6-4971-92fe-707b2157cd3d", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "b1e0704e-b7c7-44f0-9d8b-1c7d7289c4c4" ], "pending": [], "skipped": [], "duration": 44631, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "aede41f3-7974-4de1-a45f-4d7166bb4581", "title": "", "fullFile": "cypress/integration/SF/g-customer/23filter_by_VATID.spec.js", "file": "cypress/integration/SF/g-customer/23filter_by_VATID.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "a63eb06e-0370-4c3c-9760-7ed657e5112d", "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": 99091, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#vat_id').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"VAT ID\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"VAT ID\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[vat_id]\"]').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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^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(j).each(function (elements) {\n var reg = /ssd$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('');\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).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: Expected to find element: `[data-sfuniqueid = dataTable__table-td-18]`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `[data-sfuniqueid = dataTable__table-td-18]`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/23filter_by_VATID.spec.js:255:16)", "diff": null }, "uuid": "3f3041e4-32f0-4a42-bc60-681a75bcd61b", "parentUUID": "a63eb06e-0370-4c3c-9760-7ed657e5112d", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "3f3041e4-32f0-4a42-bc60-681a75bcd61b" ], "pending": [], "skipped": [], "duration": 99091, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "2bb61ad1-a35f-4bc4-b32e-9e46fbc8a52c", "title": "", "fullFile": "cypress/integration/SF/g-customer/24filter_by_PortalisEnabled.spec.js", "file": "cypress/integration/SF/g-customer/24filter_by_PortalisEnabled.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "60460b21-0ec7-4eaf-ba10-bba6487c4754", "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": 51311, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#portal_is_enabled').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Portal Is Enabled\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Portal Is Enabled\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] i\";\n console.log(j);\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(j).each(function (elements) {\n cy.get(elements).should('have.class', 'fa-check');\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(j).each(function (elements) {\n cy.get(elements).should('have.class', 'fa-times');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": {}, "uuid": "abd11568-3a08-4d46-84b4-979ebb51585c", "parentUUID": "60460b21-0ec7-4eaf-ba10-bba6487c4754", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "abd11568-3a08-4d46-84b4-979ebb51585c" ], "failures": [], "pending": [], "skipped": [], "duration": 51311, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "7dac9cc7-cb7c-4405-adcf-f99ba095a5e9", "title": "", "fullFile": "cypress/integration/SF/g-customer/25filter_by_BillingAddress1.spec.js", "file": "cypress/integration/SF/g-customer/25filter_by_BillingAddress1.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "ab01fb6c-4d86-4156-999d-b88d857b69bf", "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": 99216, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_address_1').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing Address 1\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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]\"]').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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^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(j).each(function (elements) {\n var reg = /tu$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('');\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).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: Expected to find element: `[data-sfuniqueid = dataTable__table-td-20]`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `[data-sfuniqueid = dataTable__table-td-20]`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/25filter_by_BillingAddress1.spec.js:255:16)", "diff": null }, "uuid": "271908f8-3e01-4b9f-8484-8a4a8ac818e4", "parentUUID": "ab01fb6c-4d86-4156-999d-b88d857b69bf", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "271908f8-3e01-4b9f-8484-8a4a8ac818e4" ], "pending": [], "skipped": [], "duration": 99216, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "3c0f55f8-7282-4c08-a9d4-b084f96dc647", "title": "", "fullFile": "cypress/integration/SF/g-customer/26filter_by_BillingAddress2.spec.js", "file": "cypress/integration/SF/g-customer/26filter_by_BillingAddress2.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "d23a000e-3d97-47a3-8bc9-b6505af56142", "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": 99224, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_address_2').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing Address 2\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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]\"]').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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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(j).each(function (elements) {\n var reg = /tu$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('');\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).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: Expected to find element: `[data-sfuniqueid = dataTable__table-td-21]`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `[data-sfuniqueid = dataTable__table-td-21]`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/26filter_by_BillingAddress2.spec.js:255:16)", "diff": null }, "uuid": "fbf3ae1f-3977-4260-96ef-1536c994e281", "parentUUID": "d23a000e-3d97-47a3-8bc9-b6505af56142", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "fbf3ae1f-3977-4260-96ef-1536c994e281" ], "pending": [], "skipped": [], "duration": 99224, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "d1955eda-4e14-4cc6-9e60-031191be0c72", "title": "", "fullFile": "cypress/integration/SF/g-customer/27filter_by_Billing_Country.spec.js", "file": "cypress/integration/SF/g-customer/27filter_by_Billing_Country.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "eacdad42-e676-4c0c-8b57-18cf1f5338f1", "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": 116102, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_country').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing Country\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Billing Country\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).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('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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(\"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(j).each(function (elements) {\n var reg = /PK$/;\n expect(elements.text()).to.match(reg);\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(j).each(function (elements) {\n expect(elements.text()).to.eq('');\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(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": {}, "uuid": "26b87c83-99a4-452f-8b95-054463c08fb4", "parentUUID": "eacdad42-e676-4c0c-8b57-18cf1f5338f1", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "26b87c83-99a4-452f-8b95-054463c08fb4" ], "failures": [], "pending": [], "skipped": [], "duration": 116102, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "fad7c7a6-c93b-4690-8878-5466b09c4e28", "title": "", "fullFile": "cypress/integration/SF/g-customer/28filter_by_BillingState.spec.js", "file": "cypress/integration/SF/g-customer/28filter_by_BillingState.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "a6a50904-4e80-48d4-984d-165b939cd45e", "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": 41045, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_state').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing State\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Billing State\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).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('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^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(j).each(function (elements) {\n var reg = /ab$/;\n expect(elements.text()).to.match(reg);\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(j).each(function (elements) {\n expect(elements.text()).to.eq('');\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(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: expected 'punjab' to equal 'Punjab'", "estack": "AssertionError: expected 'punjab' to equal 'Punjab'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/28filter_by_BillingState.spec.js:155:46)", "diff": "- 'punjab'\n+ 'Punjab'\n" }, "uuid": "268a68ec-199d-4407-8dda-e1739fc9a0cb", "parentUUID": "a6a50904-4e80-48d4-984d-165b939cd45e", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "268a68ec-199d-4407-8dda-e1739fc9a0cb" ], "pending": [], "skipped": [], "duration": 41045, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "18ddbc9f-24d3-41d5-b5e8-9817f8081611", "title": "", "fullFile": "cypress/integration/SF/g-customer/29filter_by_BillingCity.spec.js", "file": "cypress/integration/SF/g-customer/29filter_by_BillingCity.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "f3bbe9d8-6efe-4c57-aeb1-92af65ce03ac", "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": 117079, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_city').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing City\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Billing City\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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(j).each(function (elements) {\n var reg = /re$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('');\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": {}, "uuid": "db519d91-0c18-444b-8826-276ba2804ea5", "parentUUID": "f3bbe9d8-6efe-4c57-aeb1-92af65ce03ac", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "db519d91-0c18-444b-8826-276ba2804ea5" ], "failures": [], "pending": [], "skipped": [], "duration": 117079, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "00850716-cdc0-406e-9bac-f0e8c6749ac9", "title": "", "fullFile": "cypress/integration/SF/g-customer/30filter_by_BillingPostalCode.spec.js", "file": "cypress/integration/SF/g-customer/30filter_by_BillingPostalCode.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "9a252de4-1bf6-4704-8bb7-5d59bc9196df", "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": 99712, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_postal_code').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing Postal Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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]\"]').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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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(j).each(function (elements) {\n var reg = /20$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('');\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).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: Expected to find element: `[data-sfuniqueid = dataTable__table-td-25]`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `[data-sfuniqueid = dataTable__table-td-25]`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/30filter_by_BillingPostalCode.spec.js:255:16)", "diff": null }, "uuid": "4670042b-ca9a-4804-b30f-fd889963157b", "parentUUID": "9a252de4-1bf6-4704-8bb7-5d59bc9196df", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "4670042b-ca9a-4804-b30f-fd889963157b" ], "pending": [], "skipped": [], "duration": 99712, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "34f1e366-7b01-40b4-b579-2d91c6ede664", "title": "", "fullFile": "cypress/integration/SF/g-customer/31filter_by_ShippingAddress1.spec.js", "file": "cypress/integration/SF/g-customer/31filter_by_ShippingAddress1.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "3ce6188a-2400-4646-95b4-e613d55cab37", "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": 116355, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_address_1').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Shipping Address 1\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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]\"]').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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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[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(j).each(function (elements) {\n var reg = /hk$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('');\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": {}, "uuid": "b93a55a0-694a-4712-8d66-1df496222333", "parentUUID": "3ce6188a-2400-4646-95b4-e613d55cab37", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "b93a55a0-694a-4712-8d66-1df496222333" ], "failures": [], "pending": [], "skipped": [], "duration": 116355, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "a07fa7d2-b389-467a-9aff-89749ad61643", "title": "", "fullFile": "cypress/integration/SF/g-customer/32filter_by_ShippingAddress2.spec.js", "file": "cypress/integration/SF/g-customer/32filter_by_ShippingAddress2.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "6a6d5fbf-fa9a-44d9-8854-1a7c32d3f1c8", "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": 116174, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_address_2').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Shipping Address 2\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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]\"]').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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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[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(j).each(function (elements) {\n var reg = /hj$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('');\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": {}, "uuid": "65963015-dfc7-45cf-8a47-282c5caf301d", "parentUUID": "6a6d5fbf-fa9a-44d9-8854-1a7c32d3f1c8", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "65963015-dfc7-45cf-8a47-282c5caf301d" ], "failures": [], "pending": [], "skipped": [], "duration": 116174, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "f8b4f544-e4fa-4c0b-83f7-862ff055b80f", "title": "", "fullFile": "cypress/integration/SF/g-customer/33filter_by_ShippingCountry.spec.js", "file": "cypress/integration/SF/g-customer/33filter_by_ShippingCountry.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "590d1dfe-de0a-4104-9143-1d933093761e", "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": 23032, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_country').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Shipping Country\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Shipping Country\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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.eq('');\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.eq('');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/33filter_by_ShippingCountry.spec.js:124:8)", "diff": null }, "uuid": "52dad56c-7d1b-4429-8238-888861628f9e", "parentUUID": "590d1dfe-de0a-4104-9143-1d933093761e", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "52dad56c-7d1b-4429-8238-888861628f9e" ], "pending": [], "skipped": [], "duration": 23032, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "d3391cc0-6bfe-4ae4-860b-86423afa78b7", "title": "", "fullFile": "cypress/integration/SF/g-customer/34filter_by_ShippingState.spec.js", "file": "cypress/integration/SF/g-customer/34filter_by_ShippingState.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "8df40dea-e5b4-4b03-8ee9-371084f78d6f", "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": 7410, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_state').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Shipping State\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Shipping State\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^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(j).each(function (elements) {\n var reg = /ce$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\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.eq('');\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.eq('');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/34filter_by_ShippingState.spec.js:107:8)", "diff": null }, "uuid": "482e2099-1999-4b81-bedf-e8a6fe2d0008", "parentUUID": "8df40dea-e5b4-4b03-8ee9-371084f78d6f", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "482e2099-1999-4b81-bedf-e8a6fe2d0008" ], "pending": [], "skipped": [], "duration": 7410, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "f7960759-0925-49a1-a3cf-e8f621c19a2f", "title": "", "fullFile": "cypress/integration/SF/g-customer/35filter_by_ShippingCity.spec.js", "file": "cypress/integration/SF/g-customer/35filter_by_ShippingCity.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "0debb233-5e75-44d3-9578-341d18699301", "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": 7141, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_city').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Shipping City\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Shipping City\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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(j).each(function (elements) {\n var reg = /dia$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('');\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/35filter_by_ShippingCity.spec.js:107:8)", "diff": null }, "uuid": "cf7cbd35-a510-4319-9081-f2a2a76d1edb", "parentUUID": "0debb233-5e75-44d3-9578-341d18699301", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "cf7cbd35-a510-4319-9081-f2a2a76d1edb" ], "pending": [], "skipped": [], "duration": 7141, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "3927cd43-73e9-41dd-83ce-186258bcd1a9", "title": "", "fullFile": "cypress/integration/SF/g-customer/36filter_by_ShippingPostalCode.spec.js", "file": "cypress/integration/SF/g-customer/36filter_by_ShippingPostalCode.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "ae3c48e6-91cd-4f6b-ba2d-d23966c7399d", "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": 7084, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_postal_code').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Shipping Postal Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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]\"]').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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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[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(j).each(function (elements) {\n var reg = /898$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('');\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(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/36filter_by_ShippingPostalCode.spec.js:107:8)", "diff": null }, "uuid": "63ad4ef9-172f-4c77-821c-df6106a789b5", "parentUUID": "ae3c48e6-91cd-4f6b-ba2d-d23966c7399d", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "63ad4ef9-172f-4c77-821c-df6106a789b5" ], "pending": [], "skipped": [], "duration": 7084, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "1196d5bc-2d66-496e-a613-2f831ab78e10", "title": "", "fullFile": "cypress/integration/SF/g-customer/37filter_by_CreatedAt.spec.js", "file": "cypress/integration/SF/g-customer/37filter_by_CreatedAt.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "64e9e7cb-d471-488b-aea4-60197acaa480", "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": 7688, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#created_at').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Created At\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Created At\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').should('be.visible').select('Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[created_at]\"]').type('09/29/2020');\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.dataTables_scroll tbody tr').then(function (rows) {\n if (rows.text() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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('09/29/2020');\n expect(elements.text()).to.eq('09/29/2020');\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('09/29/2020');\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.dataTables_scroll tbody tr').then(function (rows) {\n if (rows.text() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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('09/29/2020');\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.dataTables_scroll tbody tr').then(function (rows) {\n if (rows.text() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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('.dataTables_scroll tbody tr').then(function (rows) {\n if (rows.text() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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('.dataTables_scroll tbody tr').then(function (rows) {\n if (rows.text() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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('.dataTables_scroll tbody tr').then(function (rows) {\n if (rows.text() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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(1, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(7, 'days').startOf('day');\n }\n if (date == 'Mon') {\n var Saturday = Cypress.moment().subtract(2, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(8, 'days').startOf('day');\n }\n if (date == 'Tue') {\n var Saturday = Cypress.moment().subtract(3, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(9, 'days').startOf('day');\n }\n if (date == 'Wed') {\n var Saturday = Cypress.moment().subtract(4, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(10, 'days').startOf('day');\n }\n if (date == 'Thu') {\n var Saturday = Cypress.moment().subtract(5, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(11, 'days').startOf('day');\n }\n if (date == 'Fri') {\n var Saturday = Cypress.moment().subtract(6, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(12, 'days').startOf('day');\n }\n if (date == 'Sat') {\n var Saturday = Cypress.moment().subtract(7, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(13, '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('.dataTables_scroll tbody tr').then(function (rows) {\n if (rows.text() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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('.dataTables_scroll tbody tr').then(function (rows) {\n if (rows.text() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching 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('.dataTables_scroll tbody tr').then(function (rows) {\n if (rows.text() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var dateMonth = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n dateMonth = parseInt(dateMonth); //var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy hh:mm').format('MM/DD/yyyy hh:mm');\n var Today = Cypress.moment().format('MM/DD/yyyy');\n var month = Cypress.moment(Today, 'MM/ddd/yyyy').format('MM');\n month = parseInt(month);\n expect(dateMonth).equal(month);\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/37filter_by_CreatedAt.spec.js:107:8)", "diff": null }, "uuid": "145dbc0e-856f-42f4-b820-34fa9bf19c4a", "parentUUID": "64e9e7cb-d471-488b-aea4-60197acaa480", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "145dbc0e-856f-42f4-b820-34fa9bf19c4a" ], "pending": [], "skipped": [], "duration": 7688, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "24f43ba8-b96c-49a6-911b-621a2184e528", "title": "", "fullFile": "cypress/integration/SF/g-customer/38filter_by_CreatedBy.spec.js", "file": "cypress/integration/SF/g-customer/38filter_by_CreatedBy.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "e40d4e52-b1de-4362-880e-dc346240fcfb", "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": 6938, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#created_by').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Created By\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Created By\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[created_by]\"]').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(5000);\n cy.get('#select2-created_by-input-results').contains('Test User').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('testuser');\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(5000);\n cy.get('#select2-created_by-input-results li').contains('Test User').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('testuser');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/38filter_by_CreatedBy.spec.js:107:8)", "diff": null }, "uuid": "a420106c-1f59-4cb5-899c-467393295d70", "parentUUID": "e40d4e52-b1de-4362-880e-dc346240fcfb", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "a420106c-1f59-4cb5-899c-467393295d70" ], "pending": [], "skipped": [], "duration": 6938, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "0295bbd3-c07c-4fef-9c73-8f3a4a368cb9", "title": "", "fullFile": "cypress/integration/SF/g-customer/39clear_filter.spec.js", "file": "cypress/integration/SF/g-customer/39clear_filter.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "c77575d0-34dc-4a6c-b2ad-bafeec0de27f", "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": 6916, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#created_by').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#customer_number').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar m = 0;\nvar n;\nvar oldcust = [];\ncy.get('.dataTables_scrollHead th').each(function (elements) {\n if (elements.text() == \"Customer Number\") {\n n = \"[data-sfuniqueid = dataTable__table-td-\" + m + \"]\";\n cy.get(n).each(function (element) {\n //var normalizedelement = normalizeText(element.text())\n oldcust.push(element.text());\n });\n } else {\n m = m + 1;\n }\n});\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Created By\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Created By\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[created_by]\"]').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(5000);\n cy.get('#select2-created_by-input-results').contains('Test User').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('testuser');\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('.dataTables_scrollHead th').each(function (elements) {\n if (elements.text() == \"Customer Number\") {\n b = \"[data-sfuniqueid = dataTable__table-td-\" + a + \"]\";\n cy.get(b).each(function (element) {\n newcust.push(element.text());\n });\n } else {\n a = a + 1;\n }\n});\ncy.wrap(oldcust).should(\"deep.equal\", newcust);", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/39clear_filter.spec.js:107:8)", "diff": null }, "uuid": "de458949-b699-41bc-937b-83086bb63be2", "parentUUID": "c77575d0-34dc-4a6c-b2ad-bafeec0de27f", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "de458949-b699-41bc-937b-83086bb63be2" ], "pending": [], "skipped": [], "duration": 6916, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "f62e0738-c0ad-4b27-adc4-269b66511aeb", "title": "", "fullFile": "cypress/integration/SF/g-customer/40Bulk_update.spec.js", "file": "cypress/integration/SF/g-customer/40Bulk_update.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "9b52d00f-3845-416e-b235-2a049ff502db", "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": 6951, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('tbody tr td input').then(function (elements) {\n for (var i = 0; i < 6; i++) {\n cy.get(elements).eq(i).click({\n force: true\n });\n }\n});\ncy.contains('Actions').click({\n force: true\n});\ncy.get('[data-target=\"#mass-update-modal\"]').contains('Update').click({\n force: true\n});\ncy.get('#massUpdateField').select('Phone Number');\ncy.wait(10000);\ncy.get('#massUpdateValue').type('03003673767');\ncy.get('button').contains('Update').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#phone_number').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(20000);\nvar m = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"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.eq(' \\n 03003673767\\n ');\n });\n }\n } else {\n m = m + 1;\n }\n});", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/40Bulk_update.spec.js:104:8)", "diff": null }, "uuid": "ec647c86-a348-4a73-977a-58acc1fb7dc7", "parentUUID": "9b52d00f-3845-416e-b235-2a049ff502db", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "ec647c86-a348-4a73-977a-58acc1fb7dc7" ], "pending": [], "skipped": [], "duration": 6951, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "8634caa2-f66d-4e13-977c-48c34dfcb375", "title": "", "fullFile": "cypress/integration/SF/g-customer/41Add_Payment_CreditCard_AuthorizeNet.spec.js", "file": "cypress/integration/SF/g-customer/41Add_Payment_CreditCard_AuthorizeNet.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "7b8cdde7-498c-4775-abb7-c5f8d48fe36f", "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": 6966, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).click({\n force: true\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.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n });\n addPaymentMethod();\n addPaymentMethod2();\n }\n});", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/41Add_Payment_CreditCard_AuthorizeNet.spec.js:103:8)", "diff": null }, "uuid": "31c9d041-15c7-4db0-be43-c720f9dca171", "parentUUID": "7b8cdde7-498c-4775-abb7-c5f8d48fe36f", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "31c9d041-15c7-4db0-be43-c720f9dca171" ], "pending": [], "skipped": [], "duration": 6966, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "482906a5-29f7-418c-87c8-19ce4c945cce", "title": "", "fullFile": "cypress/integration/SF/g-customer/42Add_Public_Payment_Creditcard_Authorizenet.spec.js", "file": "cypress/integration/SF/g-customer/42Add_Public_Payment_Creditcard_Authorizenet.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "337d3491-8677-4dae-8008-6d30c57a24ea", "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": 7994, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Authorize.NET').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#confirmation_config_integration button').contains('Close').click({\n force: true\n});\ncy.wait(5000);\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.link-primary').eq(1).click({\n force: true\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.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\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(5000);\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');\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type('andy@mail.com');\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(18000);\ncy.get('.lead').contains('Your payment method has been added successfully.').should('be.visible');", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/42Add_Public_Payment_Creditcard_Authorizenet.spec.js:106:8)", "diff": null }, "uuid": "9af351ad-abf2-4860-84f7-f6bb1c0932ee", "parentUUID": "337d3491-8677-4dae-8008-6d30c57a24ea", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "9af351ad-abf2-4860-84f7-f6bb1c0932ee" ], "pending": [], "skipped": [], "duration": 7994, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "3485150e-48fe-4a36-8026-d7a6cc2545ed", "title": "", "fullFile": "cypress/integration/SF/g-customer/43Add_Public_Payment_BankTransfer_Authorizenet.spec.js", "file": "cypress/integration/SF/g-customer/43Add_Public_Payment_BankTransfer_Authorizenet.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "8080c803-d6c1-40cc-a78e-8be0b585064e", "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": 49351, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Authorize.NET').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#confirmation_config_integration button').contains('Close').click({\n force: true\n});\ncy.wait(5000);\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.link-primary').eq(1).click({\n force: true\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.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\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(5000);\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');\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type('andy@mail.com');\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(18000);\ncy.get('.lead').contains('Your payment method has been added successfully.').should('be.visible');", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/43Add_Public_Payment_BankTransfer_Authorizenet.spec.js:138:8)", "diff": null }, "uuid": "9cb59ef7-4ab4-49eb-be8a-8f5f5eb0b154", "parentUUID": "8080c803-d6c1-40cc-a78e-8be0b585064e", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "9cb59ef7-4ab4-49eb-be8a-8f5f5eb0b154" ], "pending": [], "skipped": [], "duration": 49351, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "1afff4e5-c5d7-4104-9e5d-4dbddace1c84", "title": "", "fullFile": "cypress/integration/SF/g-customer/45Add_Public_Payment_CreditCard_Stripe.spec.js", "file": "cypress/integration/SF/g-customer/45Add_Public_Payment_CreditCard_Stripe.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "8f4ca538-c7b7-4293-918a-23aaf3b520ea", "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": 7318, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Stripe').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.link-primary').eq(1).click({\n force: true\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.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\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(5000);\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(5000);\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');\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type('andy@mail.com');\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(18000);\ncy.get('.lead').contains('Your payment method has been added successfully.').should('be.visible');", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/45Add_Public_Payment_CreditCard_Stripe.spec.js:106:8)", "diff": null }, "uuid": "ff28a1f9-b51d-4e8d-b9f4-ba63cc959fbc", "parentUUID": "8f4ca538-c7b7-4293-918a-23aaf3b520ea", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "ff28a1f9-b51d-4e8d-b9f4-ba63cc959fbc" ], "pending": [], "skipped": [], "duration": 7318, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "1543368e-6794-42d4-95d5-e25aed73a693", "title": "", "fullFile": "cypress/integration/SF/g-customer/46Add_Public_Payment_BankTransfer_Stripe.spec.js", "file": "cypress/integration/SF/g-customer/46Add_Public_Payment_BankTransfer_Stripe.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "3b738532-5366-47ce-b23b-0e64f6653c4e", "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": 7921, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Stripe').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.link-primary').eq(1).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 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(5000);\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(5000);\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');\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type('andy@mail.com');\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(18000);\ncy.get('.lead').contains('Your payment method needs to be verified by Admin.').should('be.visible');", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/46Add_Public_Payment_BankTransfer_Stripe.spec.js:106:8)", "diff": null }, "uuid": "79513d56-cabd-4b4e-96b5-6c9b431a0047", "parentUUID": "3b738532-5366-47ce-b23b-0e64f6653c4e", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "79513d56-cabd-4b4e-96b5-6c9b431a0047" ], "pending": [], "skipped": [], "duration": 7921, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "f2103f76-3802-4137-a624-98813d8b7799", "title": "", "fullFile": "cypress/integration/SF/g-customer/48Add_Public_Payment_PayPalExpress.spec.js", "file": "cypress/integration/SF/g-customer/48Add_Public_Payment_PayPalExpress.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "a5371d4a-2333-48e3-a025-26553d04547b", "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": 7272, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('PayPal Express Checkout').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).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 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(5000);\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(5000);\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');\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type('andy@mail.com');\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(18000);", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/48Add_Public_Payment_PayPalExpress.spec.js:106:8)", "diff": null }, "uuid": "1fc7330a-7bf4-45e7-9d65-6f8d6e1aafa6", "parentUUID": "a5371d4a-2333-48e3-a025-26553d04547b", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "1fc7330a-7bf4-45e7-9d65-6f8d6e1aafa6" ], "pending": [], "skipped": [], "duration": 7272, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "ead2402f-75c4-44fb-88c7-deb8d4049eb7", "title": "", "fullFile": "cypress/integration/SF/g-customer/49Process_Payment_Cash_Amount_Equal_To_Total_Inv_Amount.spec.js", "file": "cypress/integration/SF/g-customer/49Process_Payment_Cash_Amount_Equal_To_Total_Inv_Amount.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "5e60dc82-efea-40a6-93e7-9ee3279e98a2", "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": 22169, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\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 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(5000);\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('#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('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 j;\n var k;\n var m = 7;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes(invname.text())) {\n k = m + 1;\n j = m - 1;\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(m).then(function (OB) {\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(k).then(function (CB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\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('#relatedList-bulk-action-Invoice_Customer td').eq(j).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n } else {\n m = m + 11;\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 cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(2).then(function (element) {\n var el = element.text().replace(/[$,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/49Process_Payment_Cash_Amount_Equal_To_Total_Inv_Amount.spec.js:110:31)", "diff": null }, "uuid": "c8b8c1e7-d4aa-4e50-b443-d54479e2090f", "parentUUID": "5e60dc82-efea-40a6-93e7-9ee3279e98a2", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "c8b8c1e7-d4aa-4e50-b443-d54479e2090f" ], "pending": [], "skipped": [], "duration": 22169, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "a2d33dbc-6581-46bc-bf24-ab8b0e77b6e8", "title": "", "fullFile": "cypress/integration/SF/g-customer/50Process_Payment_Cash_Amount_GreaterThan_Total_Int_Amount.spec.js", "file": "cypress/integration/SF/g-customer/50Process_Payment_Cash_Amount_GreaterThan_Total_Int_Amount.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "08295a3c-3608-476e-ae6e-1cfd051e543f", "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": 21707, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\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 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(5000);\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('#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('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 j;\n var k;\n var m = 7;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes(invname.text())) {\n k = m + 1;\n j = m - 1;\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(m).then(function (OB) {\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(k).then(function (CB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\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('#relatedList-bulk-action-Invoice_Customer td').eq(j).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n } else {\n m = m + 11;\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 cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(2).then(function (element) {\n var el = element.text().replace(/[$,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(10);\n });\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/50Process_Payment_Cash_Amount_GreaterThan_Total_Int_Amount.spec.js:110:31)", "diff": null }, "uuid": "76f084d2-a702-49ac-91e5-f921fe2d59bd", "parentUUID": "08295a3c-3608-476e-ae6e-1cfd051e543f", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "76f084d2-a702-49ac-91e5-f921fe2d59bd" ], "pending": [], "skipped": [], "duration": 21707, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "95df8eb4-b69d-4a18-834e-7645e6916e15", "title": "", "fullFile": "cypress/integration/SF/g-customer/51Process_Payment_Cheque_Status_Paid.spec.js", "file": "cypress/integration/SF/g-customer/51Process_Payment_Cheque_Status_Paid.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "7a4a33e0-faa4-4da4-90f4-b1ec69ff5051", "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": 21868, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\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 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(5000);\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('#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('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 j;\n var k;\n var m = 7;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes(invname.text())) {\n k = m + 1;\n j = m - 1;\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(m).then(function (OB) {\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(k).then(function (CB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\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('#relatedList-bulk-action-Invoice_Customer td').eq(j).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n } else {\n m = m + 11;\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 cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(2).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 td').eq(5).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/51Process_Payment_Cheque_Status_Paid.spec.js:110:31)", "diff": null }, "uuid": "3b74e818-b9d1-471b-b449-360cfe060d85", "parentUUID": "7a4a33e0-faa4-4da4-90f4-b1ec69ff5051", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "3b74e818-b9d1-471b-b449-360cfe060d85" ], "pending": [], "skipped": [], "duration": 21868, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "e9759688-66ff-4fc4-b187-7e764a5f4151", "title": "", "fullFile": "cypress/integration/SF/g-customer/52Process_Payment_Cheque_Status_Approve_Pending.spec.js", "file": "cypress/integration/SF/g-customer/52Process_Payment_Cheque_Status_Approve_Pending.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "a82792c6-2975-4585-a015-c70ab7bd33b7", "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": 21789, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\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 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(5000);\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('#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('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 j;\n var k;\n var m = 7;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes(invname.text())) {\n k = m + 1;\n j = m - 1;\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(m).then(function (OB) {\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(k).then(function (CB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\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('#relatedList-bulk-action-Invoice_Customer td').eq(j).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n } else {\n m = m + 11;\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(2).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 p;\n var q;\n var r = 7;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes(invname.text())) {\n q = r + 1;\n p = r - 1;\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(r).then(function (OB) {\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(q).then(function (CB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\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 } else {\n r = r + 11;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(5).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n });\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/52Process_Payment_Cheque_Status_Approve_Pending.spec.js:110:31)", "diff": null }, "uuid": "31ad7158-6c18-40e6-9bc4-6aad7f92ac76", "parentUUID": "a82792c6-2975-4585-a015-c70ab7bd33b7", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "31ad7158-6c18-40e6-9bc4-6aad7f92ac76" ], "pending": [], "skipped": [], "duration": 21789, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "fbf32dbb-1a4f-4179-898f-8e18fb3ad951", "title": "", "fullFile": "cypress/integration/SF/g-customer/53Process_Payment_Cheque_Status_Decline_Pending.spec.js", "file": "cypress/integration/SF/g-customer/53Process_Payment_Cheque_Status_Decline_Pending.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "cd54c2d5-6fbb-44ab-ba8f-3bf16cdc890d", "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": 21664, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\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 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(5000);\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('#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('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 j;\n var k;\n var m = 7;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes(invname.text())) {\n k = m + 1;\n j = m - 1;\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(m).then(function (OB) {\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(k).then(function (CB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n var ClosingBalance = CB.text().replace(/[$,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n } else {\n m = m + 11;\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(2).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 p;\n var q;\n var r = 7;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes(invname.text())) {\n q = r + 1;\n p = r - 1;\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(r).then(function (OB) {\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(q).then(function (CB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n var ClosingBalance = CB.text().replace(/[$,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n } else {\n r = r + 11;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(5).then(function (stat) {\n expect(stat.text()).to.include('Declined');\n });\n });\n });\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/53Process_Payment_Cheque_Status_Decline_Pending.spec.js:110:31)", "diff": null }, "uuid": "484fe808-b72d-4dd3-9570-aa5ebe8b77dd", "parentUUID": "cd54c2d5-6fbb-44ab-ba8f-3bf16cdc890d", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "484fe808-b72d-4dd3-9570-aa5ebe8b77dd" ], "pending": [], "skipped": [], "duration": 21664, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "60950744-1a5c-42ba-8fe5-d7b5daa6f3c8", "title": "", "fullFile": "cypress/integration/SF/g-customer/54Process_Payment_BankTransfer.spec.js", "file": "cypress/integration/SF/g-customer/54Process_Payment_BankTransfer.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "9975a58e-f6e0-48ff-b89c-8a8af6ebc225", "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": 21582, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\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 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(5000);\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('#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('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 j;\n var k;\n var m = 7;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes(invname.text())) {\n k = m + 1;\n j = m - 1;\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(m).then(function (OB) {\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(k).then(function (CB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\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('#relatedList-bulk-action-Invoice_Customer td').eq(j).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n } else {\n m = m + 11;\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 cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(2).then(function (element) {\n var el = element.text().replace(/[$,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/54Process_Payment_BankTransfer.spec.js:110:31)", "diff": null }, "uuid": "12083b4a-8a36-4d0b-a6c6-8394851de6fc", "parentUUID": "9975a58e-f6e0-48ff-b89c-8a8af6ebc225", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "12083b4a-8a36-4d0b-a6c6-8394851de6fc" ], "pending": [], "skipped": [], "duration": 21582, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "9b94df52-8c6f-4783-80ef-1a14607b9a64", "title": "", "fullFile": "cypress/integration/SF/g-customer/55Cancel_Process_Payment.spec.js", "file": "cypress/integration/SF/g-customer/55Cancel_Process_Payment.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "23023e54-cbfa-4f7d-85b1-b4ab5bab74f8", "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": 21888, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\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 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(5000);\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('#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('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: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/55Cancel_Process_Payment.spec.js:110:31)", "diff": null }, "uuid": "1e0a1cd0-c22d-4c60-ae8a-1ef968c22c77", "parentUUID": "23023e54-cbfa-4f7d-85b1-b4ab5bab74f8", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "1e0a1cd0-c22d-4c60-ae8a-1ef968c22c77" ], "pending": [], "skipped": [], "duration": 21888, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "ad60a20e-91e2-4956-918b-75b200830c1e", "title": "", "fullFile": "cypress/integration/SF/g-customer/56Process_Payment_Wire_Status_Paid.spec.js", "file": "cypress/integration/SF/g-customer/56Process_Payment_Wire_Status_Paid.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "de623ae7-8c3b-482d-b1da-2b421c173f75", "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": 21826, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\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 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(5000);\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('#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('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 j;\n var k;\n var m = 7;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes(invname.text())) {\n k = m + 1;\n j = m - 1;\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(m).then(function (OB) {\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(k).then(function (CB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\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('#relatedList-bulk-action-Invoice_Customer td').eq(j).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n } else {\n m = m + 11;\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 cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(2).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 td').eq(5).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/56Process_Payment_Wire_Status_Paid.spec.js:110:31)", "diff": null }, "uuid": "85484ea4-21ee-487c-934d-06ba389f3786", "parentUUID": "de623ae7-8c3b-482d-b1da-2b421c173f75", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "85484ea4-21ee-487c-934d-06ba389f3786" ], "pending": [], "skipped": [], "duration": 21826, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "b4d9f092-fbaa-40de-a434-ed003f4161e8", "title": "", "fullFile": "cypress/integration/SF/g-customer/57Process_Payment_Wire_Status_Approve_Pending.spec.js", "file": "cypress/integration/SF/g-customer/57Process_Payment_Wire_Status_Approve_Pending.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "aa88dc4d-f41e-4cfb-9621-c3f274dee5db", "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": 21806, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\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 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(5000);\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('#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('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 j;\n var k;\n var m = 7;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes(invname.text())) {\n k = m + 1;\n j = m - 1;\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(m).then(function (OB) {\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(k).then(function (CB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n var ClosingBalance = CB.text().replace(/[$,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n } else {\n m = m + 11;\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(2).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 p;\n var q;\n var r = 7;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes(invname.text())) {\n q = r + 1;\n p = r - 1;\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(r).then(function (OB) {\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(q).then(function (CB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\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('#relatedList-bulk-action-Invoice_Customer td').eq(p).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n } else {\n r = r + 11;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(5).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n });\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/57Process_Payment_Wire_Status_Approve_Pending.spec.js:110:31)", "diff": null }, "uuid": "6c5ead68-d6cc-4e8e-a39c-3f13b15cc18e", "parentUUID": "aa88dc4d-f41e-4cfb-9621-c3f274dee5db", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "6c5ead68-d6cc-4e8e-a39c-3f13b15cc18e" ], "pending": [], "skipped": [], "duration": 21806, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "a6491d53-0982-47d4-8ea9-8edec0a3b1fc", "title": "", "fullFile": "cypress/integration/SF/g-customer/58Process_Payment_Wire_Status_Decline_Pending.spec.js", "file": "cypress/integration/SF/g-customer/58Process_Payment_Wire_Status_Decline_Pending.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "3924dde6-2bed-438b-92e2-ede9218210b7", "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": 21761, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\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 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(5000);\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('#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('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 j;\n var k;\n var m = 7;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes(invname.text())) {\n k = m + 1;\n j = m - 1;\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(m).then(function (OB) {\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(k).then(function (CB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n var ClosingBalance = CB.text().replace(/[$,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n } else {\n m = m + 11;\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(2).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 p;\n var q;\n var r = 7;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes(invname.text())) {\n q = r + 1;\n p = r - 1;\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(r).then(function (OB) {\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(q).then(function (CB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n var ClosingBalance = CB.text().replace(/[$,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n } else {\n r = r + 11;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(5).then(function (stat) {\n expect(stat.text()).to.include('Declined');\n });\n });\n });\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/58Process_Payment_Wire_Status_Decline_Pending.spec.js:110:31)", "diff": null }, "uuid": "7f64f229-a6ce-4f23-b502-86a3a2773371", "parentUUID": "3924dde6-2bed-438b-92e2-ede9218210b7", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "7f64f229-a6ce-4f23-b502-86a3a2773371" ], "pending": [], "skipped": [], "duration": 21761, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "4e0f968c-4907-451b-87c3-72c4386f55fd", "title": "", "fullFile": "cypress/integration/SF/g-customer/59Process_Payment_Card.spec.js", "file": "cypress/integration/SF/g-customer/59Process_Payment_Card.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "15bb3f2a-b8b4-41f1-b775-2dc229eccf0c", "title": "Process Payment", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Make payment through Card", "fullTitle": "Process Payment Make payment through Card", "timedOut": null, "duration": 21952, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\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 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(5000);\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('Card', {\n force: true\n });\n cy.get('#payment-method-link i.fas.fa-plus').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#payment-gateway-input').select('Authorize.NET');\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-billing_city-input-results li').contains('Adams').click({\n force: true\n });\n cy.get('#card_number-input').type('4111111111111111');\n cy.get('#expiry_month-input').select('06').should('have.value', '06');\n cy.get('#expiry_year-input').select('2024').should('have.value', '2024');\n cy.get('#card_cvv-input').type('123');\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#payment_method_id-input option').contains('Default').then(function (option) {\n cy.get('#payment_method_id-input').select(option.val(), {\n force: true\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('#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('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 j;\n var k;\n var m = 7;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes(invname.text())) {\n k = m + 1;\n j = m - 1;\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(m).then(function (OB) {\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(k).then(function (CB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\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('#relatedList-bulk-action-Invoice_Customer td').eq(j).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n } else {\n m = m + 11;\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 cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(2).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 td').eq(5).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/59Process_Payment_Card.spec.js:110:31)", "diff": null }, "uuid": "98b1f5d7-9863-4b99-a2fa-8e87e50e188b", "parentUUID": "15bb3f2a-b8b4-41f1-b775-2dc229eccf0c", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "98b1f5d7-9863-4b99-a2fa-8e87e50e188b" ], "pending": [], "skipped": [], "duration": 21952, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "93e8b958-4108-4785-ba97-63e8a03b3ac7", "title": "", "fullFile": "cypress/integration/SF/g-customer/60Process_Payment_eCheck.spec.js", "file": "cypress/integration/SF/g-customer/60Process_Payment_eCheck.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "d97c2c4b-f28a-4b3b-8e0b-cc7056ed51bd", "title": "Process Payment", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Make payment through eCheck", "fullTitle": "Process Payment Make payment through eCheck", "timedOut": null, "duration": 21871, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\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 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(5000);\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.get('#payment-method-link i.fas.fa-plus').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#payment-gateway-input').select('Authorize.NET');\n cy.get('#first_name-input').type('FirstName');\n cy.get('#last_name-input').type('LastName');\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-billing_city-input-results li').contains('Adams').click({\n force: true\n });\n cy.get('#card_number-input').type('4111111111111111');\n cy.get('#expiry_month-input').select('10').should('have.value', '10');\n cy.get('#expiry_year-input').select('2027').should('have.value', '2027');\n cy.get('#card_cvv-input').type('123');\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\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 option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\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(18000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var j;\n var k;\n var m = 7;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes(invname.text())) {\n k = m + 1;\n j = m - 1;\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(m).then(function (OB) {\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(k).then(function (CB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\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('#relatedList-bulk-action-Invoice_Customer td').eq(j).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n } else {\n m = m + 11;\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 cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(2).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 td').eq(5).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/60Process_Payment_eCheck.spec.js:110:31)", "diff": null }, "uuid": "a9de646e-1e16-4a4a-ad2d-443257cc924b", "parentUUID": "d97c2c4b-f28a-4b3b-8e0b-cc7056ed51bd", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "a9de646e-1e16-4a4a-ad2d-443257cc924b" ], "pending": [], "skipped": [], "duration": 21871, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "a30cae30-a925-406c-bf73-ac38adb0f770", "title": "", "fullFile": "cypress/integration/SF/g-customer/61Process_Payment_PayPal_Approve.spec.js", "file": "cypress/integration/SF/g-customer/61Process_Payment_PayPal_Approve.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "8950ccaf-8b2d-445a-b855-aff3210460f1", "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": 22118, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\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 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(5000);\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 cy.get('#payment-method-link i.fas.fa-plus').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#payment-gateway-input').select('PayPal Express Checkout');\n cy.get('#first_name-input').type('FirstName');\n cy.get('#last_name-input').type('LastName');\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(30000);\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(30000);\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(30000);\n cy.get('#select2-billing_city-input-results li').contains('Adams').click({\n force: true\n });\n cy.get('#billing_postalcode-input').type('1111');\n cy.get('#billing_address1-input').type('house 1');\n cy.get('#billing_address2-input').type('street 1');\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#payment_method_id-input option').contains('.com').then(function (option) {\n cy.get('#payment_method_id-input').select(option.val(), {\n force: true\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('#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('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 j;\n var k;\n var m = 7;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes(invname.text())) {\n k = m + 1;\n j = m - 1;\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(m).then(function (OB) {\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(k).then(function (CB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n var ClosingBalance = CB.text().replace(/[$,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n } else {\n m = m + 11;\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(2).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('.card-header .badge').should('have.class', 'badge-status-pending');\n });\n });\n });\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/61Process_Payment_PayPal_Approve.spec.js:110:31)", "diff": null }, "uuid": "35606f39-d9fc-4984-bac8-4046a247341f", "parentUUID": "8950ccaf-8b2d-445a-b855-aff3210460f1", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "35606f39-d9fc-4984-bac8-4046a247341f" ], "pending": [], "skipped": [], "duration": 22118, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "63190cfb-3f32-40fc-8a54-39a6d8a4bc50", "title": "", "fullFile": "cypress/integration/SF/g-customer/63Add_Payment_BankTransfer_AuthorizeNet.spec.js", "file": "cypress/integration/SF/g-customer/63Add_Payment_BankTransfer_AuthorizeNet.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "e3433fc7-ed96-4772-b7bd-55fcf5f8a7c8", "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": 7488, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).click({\n force: true\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.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n });\n addPaymentMethod();\n addPaymentMethod2();\n }\n});", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/63Add_Payment_BankTransfer_AuthorizeNet.spec.js:103:8)", "diff": null }, "uuid": "f844a336-8660-4d64-9176-532937bf7fac", "parentUUID": "e3433fc7-ed96-4772-b7bd-55fcf5f8a7c8", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "f844a336-8660-4d64-9176-532937bf7fac" ], "pending": [], "skipped": [], "duration": 7488, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "b74781b9-52f8-44a7-bc82-7ab3938c06df", "title": "", "fullFile": "cypress/integration/SF/g-customer/65Add_Payment_CreditCard_Stripe.spec.js", "file": "cypress/integration/SF/g-customer/65Add_Payment_CreditCard_Stripe.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "ded5cd35-1cce-4847-a0f4-e98a69735879", "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": 7018, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).click({\n force: true\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.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n });\n addPaymentMethod();\n addPaymentMethod2();\n }\n});", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/65Add_Payment_CreditCard_Stripe.spec.js:103:8)", "diff": null }, "uuid": "bd94a9cb-1825-486b-b00d-8ad009f57751", "parentUUID": "ded5cd35-1cce-4847-a0f4-e98a69735879", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "bd94a9cb-1825-486b-b00d-8ad009f57751" ], "pending": [], "skipped": [], "duration": 7018, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "d4246801-7fba-4dfe-89a2-406d16068c3d", "title": "", "fullFile": "cypress/integration/SF/g-customer/66Add_Payment_BankTransfer_Stripe.spec.js", "file": "cypress/integration/SF/g-customer/66Add_Payment_BankTransfer_Stripe.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "a188a7b7-07b0-4ff0-8572-9e514afafcec", "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": 7020, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).click({\n force: true\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.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n });\n addPaymentMethod();\n addPaymentMethod2();\n }\n});", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/66Add_Payment_BankTransfer_Stripe.spec.js:103:8)", "diff": null }, "uuid": "da6242bc-c0a0-40f3-8020-e7a283125fd9", "parentUUID": "a188a7b7-07b0-4ff0-8572-9e514afafcec", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "da6242bc-c0a0-40f3-8020-e7a283125fd9" ], "pending": [], "skipped": [], "duration": 7020, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "1fbbf502-70d7-4c23-9f37-7321ad92c304", "title": "", "fullFile": "cypress/integration/SF/g-customer/67Add_Payment_GoCardless.spec.js", "file": "cypress/integration/SF/g-customer/67Add_Payment_GoCardless.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "5593fa4b-8695-4051-9593-2693f23c1d90", "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": 7641, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).click({\n force: true\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.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n });\n addPaymentMethod();\n addPaymentMethod2();\n }\n});", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/67Add_Payment_GoCardless.spec.js:103:8)", "diff": null }, "uuid": "f9eafc07-0a6f-42e5-9a09-d815b54ba1a5", "parentUUID": "5593fa4b-8695-4051-9593-2693f23c1d90", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "f9eafc07-0a6f-42e5-9a09-d815b54ba1a5" ], "pending": [], "skipped": [], "duration": 7641, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "d55d3718-5fd4-4b58-9ace-f2e252176ad9", "title": "", "fullFile": "cypress/integration/SF/g-customer/68Add_Payment_PayPalExpress.spec.js", "file": "cypress/integration/SF/g-customer/68Add_Payment_PayPalExpress.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "9cdade55-76e6-4ff0-9e86-c65f85d73180", "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": 6950, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).click({\n force: true\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.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n });\n addPaymentMethod();\n addPaymentMethod2();\n }\n});", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/68Add_Payment_PayPalExpress.spec.js:103:8)", "diff": null }, "uuid": "5d2b8908-5fd2-4eff-87bb-45987e47b794", "parentUUID": "9cdade55-76e6-4ff0-9e86-c65f85d73180", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "5d2b8908-5fd2-4eff-87bb-45987e47b794" ], "pending": [], "skipped": [], "duration": 6950, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "078c891f-0e65-4125-adfa-9e4ab97f8400", "title": "", "fullFile": "cypress/integration/SF/g-customer/69Add_Payment_Uncheck_Default.spec.js", "file": "cypress/integration/SF/g-customer/69Add_Payment_Uncheck_Default.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "d98d20f1-8d40-472b-b30c-637e500ae128", "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": 6906, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).click({\n force: true\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 addPaymentMethod();\n cy.get('#related-table-paymentmethod .sf-pagination-wrapper span.bold').eq(0).then(function (count) {\n expect(count.text()).to.eq('2');\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer td i').eq(0).should('not.have.class', 'fa-check');\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n });\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 addPaymentMethod();\n cy.get('#related-table-paymentmethod .sf-pagination-wrapper span.bold').eq(0).then(function (count) {\n expect(count.text()).to.eq('2');\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer td i').eq(0).should('not.have.class', 'fa-check');\n }\n});", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/69Add_Payment_Uncheck_Default.spec.js:103:8)", "diff": null }, "uuid": "9ef6358a-3883-4f7a-a419-a64d297b3346", "parentUUID": "d98d20f1-8d40-472b-b30c-637e500ae128", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "9ef6358a-3883-4f7a-a419-a64d297b3346" ], "pending": [], "skipped": [], "duration": 6906, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "f2075c6d-d5aa-4634-ac43-c9b5d7194f93", "title": "", "fullFile": "cypress/integration/SF/g-customer/70Cancel_Add_Payment.spec.js", "file": "cypress/integration/SF/g-customer/70Cancel_Add_Payment.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "9d026fdb-989a-43f7-af29-25032dbcefdd", "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": 6953, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).click({\n force: true\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.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n });\n addPaymentMethod();\n }\n});", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/70Cancel_Add_Payment.spec.js:103:8)", "diff": null }, "uuid": "186c9831-7e14-4815-a2b1-8e5b8dfcab45", "parentUUID": "9d026fdb-989a-43f7-af29-25032dbcefdd", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "186c9831-7e14-4815-a2b1-8e5b8dfcab45" ], "pending": [], "skipped": [], "duration": 6953, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "1beebef4-37b2-4fb4-a769-971dd97522af", "title": "", "fullFile": "cypress/integration/SF/g-customer/71Allocate_Existing_Credits.spec.js", "file": "cypress/integration/SF/g-customer/71Allocate_Existing_Credits.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "69ab4cf3-6b1d-43c7-a3a4-990292d488ed", "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": 20330, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).then(function (name) {\n cy.get(name).click({\n force: true\n });\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.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').click({\n force: true\n});\ncy.wait(5000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#next-button').click({\n force: true\n});\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.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(5000);\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('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-existing-subscription').click({\n force: true\n});\ncy.wait(8000);\ncy.get('button.select-subscription').eq(0).click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('TV Services').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').contains('Basic').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/71Allocate_Existing_Credits.spec.js:107:29)", "diff": null }, "uuid": "87c7099a-2b63-4afb-8690-60300e62b272", "parentUUID": "69ab4cf3-6b1d-43c7-a3a4-990292d488ed", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "87c7099a-2b63-4afb-8690-60300e62b272" ], "pending": [], "skipped": [], "duration": 20330, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "6b4600e4-26a7-4dfd-9fe8-6825e0782038", "title": "", "fullFile": "cypress/integration/SF/g-customer/72Allocate_Existing_Credits_Amt_Gtr_Balance.spec.js", "file": "cypress/integration/SF/g-customer/72Allocate_Existing_Credits_Amt_Gtr_Balance.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "1a42c700-2087-466d-9716-84924a750bf5", "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": 20750, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).then(function (name) {\n cy.get(name).click({\n force: true\n });\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.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').click({\n force: true\n});\ncy.wait(5000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#next-button').click({\n force: true\n});\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.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(5000);\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('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-existing-subscription').click({\n force: true\n});\ncy.wait(8000);\ncy.get('button.select-subscription').eq(0).click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('TV Services').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').contains('Basic').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\nallocateCredits();", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/72Allocate_Existing_Credits_Amt_Gtr_Balance.spec.js:107:29)", "diff": null }, "uuid": "df1801af-d7b6-4385-b7de-e43a93022155", "parentUUID": "1a42c700-2087-466d-9716-84924a750bf5", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "df1801af-d7b6-4385-b7de-e43a93022155" ], "pending": [], "skipped": [], "duration": 20750, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "ecfda740-dea3-4dff-9ba8-e9820400e871", "title": "", "fullFile": "cypress/integration/SF/g-customer/73Allocate_Existing_Credits_Amt_Lt_Balance.spec.js", "file": "cypress/integration/SF/g-customer/73Allocate_Existing_Credits_Amt_Lt_Balance.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "9130b32a-919e-4e31-a68e-056c5569a9c5", "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": 20728, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).then(function (name) {\n cy.get(name).click({\n force: true\n });\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.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').click({\n force: true\n});\ncy.wait(5000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#next-button').click({\n force: true\n});\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.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(5000);\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('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-existing-subscription').click({\n force: true\n});\ncy.wait(8000);\ncy.get('button.select-subscription').eq(0).click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('TV Services').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').contains('Basic').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/73Allocate_Existing_Credits_Amt_Lt_Balance.spec.js:107:29)", "diff": null }, "uuid": "680abbef-7039-4440-8af9-d009042e0f24", "parentUUID": "9130b32a-919e-4e31-a68e-056c5569a9c5", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "680abbef-7039-4440-8af9-d009042e0f24" ], "pending": [], "skipped": [], "duration": 20728, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "d52f0199-e946-43d0-9960-3da1d3cb8d99", "title": "", "fullFile": "cypress/integration/SF/g-customer/74Allocate_Existing_Credits_Amt_Gtr_Outstanding.spec.js", "file": "cypress/integration/SF/g-customer/74Allocate_Existing_Credits_Amt_Gtr_Outstanding.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "d2a9729f-6727-423b-b460-e66ffe8acd94", "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": 20834, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).then(function (name) {\n cy.get(name).click({\n force: true\n });\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.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').click({\n force: true\n});\ncy.wait(5000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#next-button').click({\n force: true\n});\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.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(5000);\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('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-existing-subscription').click({\n force: true\n});\ncy.wait(8000);\ncy.get('button.select-subscription').eq(0).click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('TV Services').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').contains('Basic').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\nallocateCredits();", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/74Allocate_Existing_Credits_Amt_Gtr_Outstanding.spec.js:107:29)", "diff": null }, "uuid": "23d46888-29e9-4448-ba73-85b8be77f7ef", "parentUUID": "d2a9729f-6727-423b-b460-e66ffe8acd94", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "23d46888-29e9-4448-ba73-85b8be77f7ef" ], "pending": [], "skipped": [], "duration": 20834, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "da692aa5-e8f0-4a19-8ef6-c491154f94e6", "title": "", "fullFile": "cypress/integration/SF/g-customer/75Allocate_Existing_Credits_Amt_Lt_Outstanding.spec.js", "file": "cypress/integration/SF/g-customer/75Allocate_Existing_Credits_Amt_Lt_Outstanding.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "83cd3121-762d-4768-bf48-85fb9671b7c4", "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": 21742, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).then(function (name) {\n cy.get(name).click({\n force: true\n });\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.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').click({\n force: true\n});\ncy.wait(5000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#next-button').click({\n force: true\n});\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.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(5000);\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('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-existing-subscription').click({\n force: true\n});\ncy.wait(8000);\ncy.get('button.select-subscription').eq(0).click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('TV Services').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').contains('Basic').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/75Allocate_Existing_Credits_Amt_Lt_Outstanding.spec.js:107:29)", "diff": null }, "uuid": "498f8fc5-1f34-4a87-ae5e-6593c02097e6", "parentUUID": "83cd3121-762d-4768-bf48-85fb9671b7c4", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "498f8fc5-1f34-4a87-ae5e-6593c02097e6" ], "pending": [], "skipped": [], "duration": 21742, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "e552bad7-7f29-4053-a691-a83790a6dc3b", "title": "", "fullFile": "cypress/integration/SF/g-customer/76Allocate_Existing_Credits_Amt_eq_Outstanding.spec.js", "file": "cypress/integration/SF/g-customer/76Allocate_Existing_Credits_Amt_eq_Outstanding.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "3e867be2-b93c-418c-b3ba-f62f404cbf99", "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": 20752, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).then(function (name) {\n cy.get(name).click({\n force: true\n });\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.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').click({\n force: true\n});\ncy.wait(5000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#next-button').click({\n force: true\n});\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.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(5000);\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('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-existing-subscription').click({\n force: true\n});\ncy.wait(8000);\ncy.get('button.select-subscription').eq(0).click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('TV Services').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').contains('Basic').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/76Allocate_Existing_Credits_Amt_eq_Outstanding.spec.js:107:29)", "diff": null }, "uuid": "71d6b03d-cc46-49fe-a39c-49b998fa4ac8", "parentUUID": "3e867be2-b93c-418c-b3ba-f62f404cbf99", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "71d6b03d-cc46-49fe-a39c-49b998fa4ac8" ], "pending": [], "skipped": [], "duration": 20752, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "07ff605f-a829-4c3b-a27f-5d0f0c0c4980", "title": "", "fullFile": "cypress/integration/SF/g-customer/77Allocate_Existing_Credits_Multiple_Invoices.spec.js", "file": "cypress/integration/SF/g-customer/77Allocate_Existing_Credits_Multiple_Invoices.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "42fb8bbe-6b37-42b9-ad55-f914b05774d2", "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": 20863, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).then(function (name) {\n cy.get(name).click({\n force: true\n });\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.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').click({\n force: true\n});\ncy.wait(5000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#next-button').click({\n force: true\n});\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.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(5000);\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('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-existing-subscription').click({\n force: true\n});\ncy.wait(8000);\ncy.get('button.select-subscription').eq(0).click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').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').contains('Test Plan').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/77Allocate_Existing_Credits_Multiple_Invoices.spec.js:107:29)", "diff": null }, "uuid": "09e62a9e-98f6-4eee-b555-9809efeedcfc", "parentUUID": "42fb8bbe-6b37-42b9-ad55-f914b05774d2", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "09e62a9e-98f6-4eee-b555-9809efeedcfc" ], "pending": [], "skipped": [], "duration": 20863, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "d4d06116-8ac9-43e8-be91-16d5e56cf18b", "title": "", "fullFile": "cypress/integration/SF/g-customer/78Create_And_Allocate_Credits.spec.js", "file": "cypress/integration/SF/g-customer/78Create_And_Allocate_Credits.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "6d120a04-645e-4f48-8760-dd5fa909b239", "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": 20735, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).then(function (name) {\n cy.get(name).click({\n force: true\n });\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.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').click({\n force: true\n});\ncy.wait(5000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#next-button').click({\n force: true\n});\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.wait(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: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/78Create_And_Allocate_Credits.spec.js:107:29)", "diff": null }, "uuid": "cd609885-88d1-40ba-a273-752c1ba5c645", "parentUUID": "6d120a04-645e-4f48-8760-dd5fa909b239", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "cd609885-88d1-40ba-a273-752c1ba5c645" ], "pending": [], "skipped": [], "duration": 20735, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "0199cc4d-1713-41fa-8630-467d2c722d00", "title": "", "fullFile": "cypress/integration/SF/g-customer/79Create_And_Allocate_Balance_Gtr_Allocated.spec.js", "file": "cypress/integration/SF/g-customer/79Create_And_Allocate_Balance_Gtr_Allocated.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "fd209ac6-3f5e-4f9a-a98b-9bfe81dcb979", "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": 20943, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).then(function (name) {\n cy.get(name).click({\n force: true\n });\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.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').click({\n force: true\n});\ncy.wait(5000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#next-button').click({\n force: true\n});\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.wait(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: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/79Create_And_Allocate_Balance_Gtr_Allocated.spec.js:107:29)", "diff": null }, "uuid": "cc3ac3fb-80dd-4943-abd6-028502c427c6", "parentUUID": "fd209ac6-3f5e-4f9a-a98b-9bfe81dcb979", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "cc3ac3fb-80dd-4943-abd6-028502c427c6" ], "pending": [], "skipped": [], "duration": 20943, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "2f804d5c-2973-4729-9dea-11461ca7d8bc", "title": "", "fullFile": "cypress/integration/SF/g-customer/80Create_And_Allocate_Balance_Lt_Allocated.spec.js", "file": "cypress/integration/SF/g-customer/80Create_And_Allocate_Balance_Lt_Allocated.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "0eb082d0-22eb-4c1f-bbb9-8b0504842111", "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": 20798, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).then(function (name) {\n cy.get(name).click({\n force: true\n });\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.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').click({\n force: true\n});\ncy.wait(5000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#next-button').click({\n force: true\n});\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.wait(8000);\ncy.reload();\nallocateCredits();", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/80Create_And_Allocate_Balance_Lt_Allocated.spec.js:107:29)", "diff": null }, "uuid": "c8e3885c-8b66-4237-827d-7d893206808d", "parentUUID": "0eb082d0-22eb-4c1f-bbb9-8b0504842111", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "c8e3885c-8b66-4237-827d-7d893206808d" ], "pending": [], "skipped": [], "duration": 20798, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "797220db-4cb4-4d56-890e-d0cc97493504", "title": "", "fullFile": "cypress/integration/SF/g-customer/81Create_And_Allocate_Balance_Gtr_Outstanding.spec.js", "file": "cypress/integration/SF/g-customer/81Create_And_Allocate_Balance_Gtr_Outstanding.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "beeba940-48ee-49f0-b968-6eb74ca294ef", "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": 20947, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).then(function (name) {\n cy.get(name).click({\n force: true\n });\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.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').click({\n force: true\n});\ncy.wait(5000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#next-button').click({\n force: true\n});\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.wait(8000);\ncy.reload();\nallocateCredits();", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/81Create_And_Allocate_Balance_Gtr_Outstanding.spec.js:107:29)", "diff": null }, "uuid": "95efe4e3-4446-434b-b0a8-3367114e2890", "parentUUID": "beeba940-48ee-49f0-b968-6eb74ca294ef", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "95efe4e3-4446-434b-b0a8-3367114e2890" ], "pending": [], "skipped": [], "duration": 20947, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "649b4441-8744-47bd-bb49-cf37e223fe10", "title": "", "fullFile": "cypress/integration/SF/g-customer/82Create_And_Allocate_Balance_Lt_Outstanding.spec.js", "file": "cypress/integration/SF/g-customer/82Create_And_Allocate_Balance_Lt_Outstanding.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "f65b26d1-b3fa-44c3-9ad3-59369f997817", "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": 20909, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).then(function (name) {\n cy.get(name).click({\n force: true\n });\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.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').click({\n force: true\n});\ncy.wait(5000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#next-button').click({\n force: true\n});\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.wait(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: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/82Create_And_Allocate_Balance_Lt_Outstanding.spec.js:107:29)", "diff": null }, "uuid": "c13e2f52-7b39-4923-a948-602dc72c7831", "parentUUID": "f65b26d1-b3fa-44c3-9ad3-59369f997817", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "c13e2f52-7b39-4923-a948-602dc72c7831" ], "pending": [], "skipped": [], "duration": 20909, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "e97b4dc0-f766-4019-9d55-f48b53282751", "title": "", "fullFile": "cypress/integration/SF/g-customer/83Create_And_Allocate_Balance_Eq_Outstanding.spec.js", "file": "cypress/integration/SF/g-customer/83Create_And_Allocate_Balance_Eq_Outstanding.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "7f4eb3a8-ec69-47c2-b718-76fa6ab1ea70", "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": 21100, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).then(function (name) {\n cy.get(name).click({\n force: true\n });\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.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').click({\n force: true\n});\ncy.wait(5000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#next-button').click({\n force: true\n});\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.wait(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: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/83Create_And_Allocate_Balance_Eq_Outstanding.spec.js:107:29)", "diff": null }, "uuid": "4c74c43f-5fe5-470a-88a4-f20280c46096", "parentUUID": "7f4eb3a8-ec69-47c2-b718-76fa6ab1ea70", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "4c74c43f-5fe5-470a-88a4-f20280c46096" ], "pending": [], "skipped": [], "duration": 21100, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "d2153573-b379-4160-bb07-806fd448fdf3", "title": "", "fullFile": "cypress/integration/SF/g-customer/84Create_And_Allocate_Multiple_Invoices.spec.js", "file": "cypress/integration/SF/g-customer/84Create_And_Allocate_Multiple_Invoices.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "2db2cf22-0f4e-4fbf-a729-c45880cece62", "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": 20841, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).then(function (name) {\n cy.get(name).click({\n force: true\n });\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.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').click({\n force: true\n});\ncy.wait(5000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#next-button').click({\n force: true\n});\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.wait(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: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/84Create_And_Allocate_Multiple_Invoices.spec.js:107:29)", "diff": null }, "uuid": "c088a6c0-0642-4311-9af5-d102ad5d177f", "parentUUID": "2db2cf22-0f4e-4fbf-a729-c45880cece62", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "c088a6c0-0642-4311-9af5-d102ad5d177f" ], "pending": [], "skipped": [], "duration": 20841, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "6c12b70f-2490-4628-87d5-9f45fbefef3c", "title": "", "fullFile": "cypress/integration/SF/g-customer/85Create_And_Dont_Allocate.spec.js", "file": "cypress/integration/SF/g-customer/85Create_And_Dont_Allocate.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "14e3d52c-5dbb-46ea-a178-14020199d2a7", "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": 20860, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.link-primary').eq(1).then(function (name) {\n cy.get(name).click({\n force: true\n });\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.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').click({\n force: true\n});\ncy.wait(5000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#next-button').click({\n force: true\n});\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.wait(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: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/85Create_And_Dont_Allocate.spec.js:107:29)", "diff": null }, "uuid": "9374e03f-1306-4682-a5ad-5a04b734a1bc", "parentUUID": "14e3d52c-5dbb-46ea-a178-14020199d2a7", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "9374e03f-1306-4682-a5ad-5a04b734a1bc" ], "pending": [], "skipped": [], "duration": 20860, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "c6e775cd-68e6-46e6-9d54-f6f4c0ab562a", "title": "", "fullFile": "cypress/integration/SF/h-order/01-create_order.spec.js", "file": "cypress/integration/SF/h-order/01-create_order.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "384bf183-6714-48c0-b7a4-e960c00f7ccc", "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": 11662, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\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(5000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.btn-create').contains('Create Order').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('#btn-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').click({\n force: true\n });\n cy.wait(5000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#next-button').click({\n force: true\n });\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(5000);\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(5000);\n cy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n });\n cy.get('#next-button').click({\n force: true\n });\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\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(5000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n });\n});\ncy.get('[href=\"#Subscription-subpanel\"]').contains(' Subscriptions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Subscription_Customer tbody a span').eq(0).click({\n force: true\n});\ncy.get('.row-c span').contains('Termed').then(function (type) {\n expect(type.text()).equal('Termed');\n});", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-order/01-create_order.spec.js:107:36)", "diff": null }, "uuid": "ddc70882-2d19-4198-af6b-73c93f1c1144", "parentUUID": "384bf183-6714-48c0-b7a4-e960c00f7ccc", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "ddc70882-2d19-4198-af6b-73c93f1c1144" ], "pending": [], "skipped": [], "duration": 11662, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "353aed26-a422-4654-9fd3-d13f75c00267", "title": "", "fullFile": "cypress/integration/SF/h-order/02-create-evergreen-order.spec.js", "file": "cypress/integration/SF/h-order/02-create-evergreen-order.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "8d9e1a32-7e98-4aa1-9abb-d504dcd26bf9", "title": "Create Evergreen Order", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "An evergreen order is created and verified", "fullTitle": "Create Evergreen Order An evergreen order is created and verified", "timedOut": null, "duration": 10883, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\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(5000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.btn-create').contains('Create Order').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('#btn-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').click({\n force: true\n });\n cy.wait(5000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-evergreen').click({\n force: true\n }).should('be.checked');\n cy.get('#next-button').click({\n force: true\n });\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(5000);\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(5000);\n cy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n });\n cy.get('#next-button').click({\n force: true\n });\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\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(5000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n });\n});\ncy.get('[href=\"#Subscription-subpanel\"]').contains(' Subscriptions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Subscription_Customer tbody a span').eq(0).click({\n force: true\n});\ncy.get('.row-c span').contains('Evergreen').then(function (type) {\n expect(type.text()).equal('Evergreen');\n});", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-order/02-create-evergreen-order.spec.js:107:36)", "diff": null }, "uuid": "19999259-20af-4f44-aefd-f13c20c77f0e", "parentUUID": "8d9e1a32-7e98-4aa1-9abb-d504dcd26bf9", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "19999259-20af-4f44-aefd-f13c20c77f0e" ], "pending": [], "skipped": [], "duration": 10883, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "d6b6e0a3-0df8-4a06-89b8-a63af35a52ee", "title": "", "fullFile": "cypress/integration/SF/h-order/03-create-trial-order.spec.js", "file": "cypress/integration/SF/h-order/03-create-trial-order.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "301c85f4-67b3-4a77-a368-5f20a34b318b", "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": 10865, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\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(5000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.btn-create').contains('Create Order').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('#btn-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').click({\n force: true\n });\n cy.wait(5000);\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('#next-button').click({\n force: true\n });\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(5000);\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(5000);\n cy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n });\n cy.get('#next-button').click({\n force: true\n });\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\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(5000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n});\ncy.get('[href=\"#Subscription-subpanel\"]').contains(' Subscriptions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Subscription_Customer tbody a span').eq(0).click({\n force: true\n});\ncy.get('.row-c span').contains('Trial').then(function (type) {\n expect(type.text()).equal('Trial');\n});", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-order/03-create-trial-order.spec.js:107:36)", "diff": null }, "uuid": "3335219d-e473-41ea-87b0-faf81dd267e8", "parentUUID": "301c85f4-67b3-4a77-a368-5f20a34b318b", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "3335219d-e473-41ea-87b0-faf81dd267e8" ], "pending": [], "skipped": [], "duration": 10865, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "e192b8c1-a6e6-4e99-8802-bfb504643ae8", "title": "", "fullFile": "cypress/integration/SF/h-order/04-giftsubs.spec.js", "file": "cypress/integration/SF/h-order/04-giftsubs.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "ba427ee8-5a05-427b-836a-e12c4279aed6", "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": 10857, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\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(5000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.btn-create').contains('Create Order').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('#btn-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').click({\n force: true\n });\n cy.wait(5000);\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('#next-button').click({\n force: true\n });\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(5000);\n cy.get('.select2-results__options li').contains('HPP').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-results__options li').contains('Gift sub').click({\n force: true\n });\n cy.get('#next-button').click({\n force: true\n });\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\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(5000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n});\ncy.get('[href=\"#Subscription-subpanel\"]').contains(' Subscriptions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Subscription_Customer tbody a span').eq(0).click({\n force: true\n});\ncy.get('.card-header').contains('Gift').then(function (type) {\n expect(type.text()).contains('Gift Detail');\n});\ncy.get('.detail-text').contains('Mary Girl').should('be.visible');", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-order/04-giftsubs.spec.js:107:36)", "diff": null }, "uuid": "a00e5690-7b8d-4e7f-98e6-9dbee1aa3bf5", "parentUUID": "ba427ee8-5a05-427b-836a-e12c4279aed6", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "a00e5690-7b8d-4e7f-98e6-9dbee1aa3bf5" ], "pending": [], "skipped": [], "duration": 10857, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "020b50cf-831e-404b-8496-4a3d0898601d", "title": "", "fullFile": "cypress/integration/SF/h-order/05-modify-existing-subs.spec.js", "file": "cypress/integration/SF/h-order/05-modify-existing-subs.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "cc338020-882d-4d41-bea1-4cab89472ad8", "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": 11256, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice1) {\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n });\n cy.get('#btn-existing-subscription').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr td').then(function (element) {\n if (element.text().includes(\"Draft\")) {\n cy.get('button[data-status=\"Draft\"]').contains('Select').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#next-button').click({\n force: true\n });\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(5000);\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(5000);\n cy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n });\n cy.get('#next-button').click({\n force: true\n });\n cy.url().should('include', '/en/orders');\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.reload();\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Subscription-subpanel\"]').contains(' Subscriptions ').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-Subscription_Customer tbody a span').eq(0).click({\n force: true\n });\n cy.get('.row-c span').contains('Active').then(function (type) {\n expect(type.text()).equal('Active');\n });\n }\n });\n });\n});", "err": { "message": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application", "estack": "CypressError: The following error originated from your application code, not from Cypress.\n\n > [object Object] ([object Object]:7)\n\nWhen Cypress detects uncaught errors originating from your application it will automatically fail the current test.\n\nThis behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.\n\nhttps://on.cypress.io/uncaught-exception-from-application\n at cypressErr (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172656:18)\n at Object.errByPath (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:172707:10)\n at Object.createUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:161461:45)\n at $Cy.onUncaughtException (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:170226:26)\n at HTMLBodyElement.onError (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:169289:39)\n at onLoadFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176957:18)\n at XMLHttpRequest.<anonymous> (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:176929:25)\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-order/05-modify-existing-subs.spec.js:107:36)", "diff": null }, "uuid": "ff983748-e705-492b-829d-8947ed8c7066", "parentUUID": "cc338020-882d-4d41-bea1-4cab89472ad8", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "ff983748-e705-492b-829d-8947ed8c7066" ], "pending": [], "skipped": [], "duration": 11256, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "2b7f406e-d578-4fcb-99da-d024bb21036b", "title": "", "fullFile": "cypress/integration/SF/h-order/06-increase-quantity.spec.js", "file": "cypress/integration/SF/h-order/06-increase-quantity.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "9ab1d4dc-f8d3-4813-89c9-c09e6968b480", "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": 25143, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\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(5000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.btn-create').contains('Create Order').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('#btn-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').click({\n force: true\n });\n cy.wait(5000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#next-button').click({\n force: true\n });\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(5000);\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(5000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n cy.get('.sub-total').then(function (Price1) {\n cy.get('#next-button').click({\n force: true\n });\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\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(5000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n });\n cy.get('#btn-existing-subscription').click({\n force: true\n });\n cy.wait(40000);\n cy.get('button.select-subscription').eq(0).click({\n force: true\n });\n cy.wait(5000);\n cy.get('input.quantity-input').clear().type('3', {\n force: true\n });\n cy.get('.sub-total').then(function (Price2) {\n var newPrice = Price1.text().replace(/[$,]+/g, \"\");\n newPrice = parseFloat(newPrice);\n newPrice = newPrice * 3;\n var newPrice2 = Price2.text().replace(/[$,]+/g, \"\");\n newPrice2 = parseFloat(newPrice2);\n expect(newPrice).to.eq(parseInt(newPrice2));\n });\n cy.get('#next-button').click({\n force: true\n });\n });\n });\n cy.wait(18000);\n cy.reload();\n cy.reload();\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-order/06-increase-quantity.spec.js:114:31)", "diff": null }, "uuid": "c93ec81a-af56-4a3e-b13e-aa5b977d1b5a", "parentUUID": "9ab1d4dc-f8d3-4813-89c9-c09e6968b480", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "c93ec81a-af56-4a3e-b13e-aa5b977d1b5a" ], "pending": [], "skipped": [], "duration": 25143, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "91516fb5-7d6f-491d-97ec-5eaa18cf9d10", "title": "", "fullFile": "cypress/integration/SF/h-order/07-decrease-quantity.spec.js", "file": "cypress/integration/SF/h-order/07-decrease-quantity.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "76d79f48-0bdd-43de-a30b-b68a3c1f0865", "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": 25935, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.btn-create').contains('Create Order').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('#btn-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#next-button').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(5000);\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(5000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n cy.get('input.quantity-input').clear().type('3', {\n force: true\n });\n cy.get('.sub-total').then(function (Price1) {\n cy.get('#next-button').click({\n force: true\n });\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\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('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice2) {\n expect(invoice1.text()).not.to.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n });\n cy.get('#btn-existing-subscription').click({\n force: true\n });\n cy.wait(40000);\n cy.get('button.select-subscription').eq(0).click({\n force: true\n });\n cy.wait(5000);\n cy.get('input.quantity-input').clear().type('1', {\n force: true\n });\n cy.get('.sub-total').then(function (Price2) {\n var newPrice = Price1.text().replace(/[$,]+/g, \"\");\n newPrice = parseFloat(newPrice);\n var pr1 = newPrice;\n newPrice = newPrice / 3;\n var newPrice2 = Price2.text().replace(/[$,]+/g, \"\");\n newPrice2 = parseFloat(newPrice2);\n expect(newPrice).to.eq(parseInt(newPrice2));\n cy.get('#next-button').click({\n force: true\n });\n cy.wait(18000);\n cy.reload();\n cy.reload();\n cy.get('[href=\"#CreditNote-subpanel\"]').contains(' Credits ').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-CreditNote_Customer tbody td').eq(2).then(function (credit) {\n var cred = credit.text().replace(/[$,]+/g, \"\");\n cred = parseFloat(cred);\n expect(cred).to.eq(pr1 - newPrice2);\n });\n });\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-order/07-decrease-quantity.spec.js:114:31)", "diff": null }, "uuid": "2ca03b92-ca2c-4ad1-b922-fded1a1d91f7", "parentUUID": "76d79f48-0bdd-43de-a30b-b68a3c1f0865", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "2ca03b92-ca2c-4ad1-b922-fded1a1d91f7" ], "pending": [], "skipped": [], "duration": 25935, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "3030616b-4b77-4e77-a729-e013df1bac62", "title": "", "fullFile": "cypress/integration/SF/h-order/08-increase-price.spec.js", "file": "cypress/integration/SF/h-order/08-increase-price.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "a25e5a8e-8500-4a9d-b532-8b8ba61edc31", "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": 26056, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.btn-create').contains('Create Order').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('#btn-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#next-button').click({\n force: true\n });\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(5000);\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(5000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n cy.get('.sub-total').then(function (Price1) {\n cy.get('#next-button').click({\n force: true\n });\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\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('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n });\n cy.get('#btn-existing-subscription').click({\n force: true\n });\n cy.wait(40000);\n cy.get('button.select-subscription').eq(0).click({\n force: true\n });\n cy.wait(5000);\n cy.get('input.price-input').clear().type('40', {\n force: true\n });\n cy.get('.sub-total').then(function (Price2) {\n var newPrice = Price1.text().replace(/[$,]+/g, \"\");\n newPrice = parseFloat(newPrice);\n var newPrice2 = Price2.text().replace(/[$,]+/g, \"\");\n newPrice2 = parseFloat(newPrice2);\n expect(newPrice).to.not.eq(parseInt(newPrice2));\n expect(newPrice2).to.eq(40);\n cy.get('#next-button').click({\n force: true\n });\n });\n });\n cy.wait(18000);\n cy.reload();\n cy.reload();\n cy.wait(5000);\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n });\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-order/08-increase-price.spec.js:114:31)", "diff": null }, "uuid": "475b4da1-aca8-4c4f-85dd-564c35106e7d", "parentUUID": "a25e5a8e-8500-4a9d-b532-8b8ba61edc31", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "475b4da1-aca8-4c4f-85dd-564c35106e7d" ], "pending": [], "skipped": [], "duration": 26056, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "ff38e869-de36-4fe5-862b-7ec0917060e7", "title": "", "fullFile": "cypress/integration/SF/h-order/09-decrease-price.spec.js", "file": "cypress/integration/SF/h-order/09-decrease-price.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "cc08fbd5-b83d-4657-b10b-ee4c12931f4b", "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": 25724, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.btn-create').contains('Create Order').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('#btn-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#next-button').click({\n force: true\n });\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(5000);\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(5000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n cy.get('.sub-total').then(function (Price1) {\n cy.get('#next-button').click({\n force: true\n });\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\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('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice2) {\n expect(invoice1.text()).not.to.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n });\n cy.get('#btn-existing-subscription').click({\n force: true\n });\n cy.wait(30000);\n cy.get('button.select-subscription').eq(0).click({\n force: true\n });\n cy.wait(7000);\n cy.get('input.price-input').clear().type('10', {\n force: true\n });\n cy.get('.sub-total').then(function (Price2) {\n var newPrice = Price1.text().replace(/[$,]+/g, \"\");\n newPrice = parseFloat(newPrice);\n var newPrice2 = Price2.text().replace(/[$,]+/g, \"\");\n newPrice2 = parseFloat(newPrice2);\n expect(newPrice).to.not.eq(parseInt(newPrice2));\n expect(newPrice2).to.eq(10);\n cy.get('#next-button').click({\n force: true\n });\n cy.wait(18000);\n cy.reload();\n cy.reload();\n cy.get('[href=\"#CreditNote-subpanel\"]').contains(' Credits ').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-CreditNote_Customer tbody td').eq(2).then(function (credit) {\n var cred = credit.text().replace(/[$,]+/g, \"\");\n cred = parseFloat(cred);\n expect(cred).to.eq(newPrice - newPrice2);\n });\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n });\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-order/09-decrease-price.spec.js:114:31)", "diff": null }, "uuid": "0505e052-6a8c-4ac7-9d23-08518eaffeca", "parentUUID": "cc08fbd5-b83d-4657-b10b-ee4c12931f4b", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "0505e052-6a8c-4ac7-9d23-08518eaffeca" ], "pending": [], "skipped": [], "duration": 25724, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "9b9c8560-047a-4a29-909c-aed5f28e406a", "title": "", "fullFile": "cypress/integration/SF/h-order/10-change-plan.spec.js", "file": "cypress/integration/SF/h-order/10-change-plan.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "b735979a-6bd6-4afe-b16d-cff50b245955", "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": 26212, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.btn-create').contains('Create Order').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('#btn-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#next-button').click({\n force: true\n });\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(5000);\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(5000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n var tot1 = 0;\n var tot2 = 0;\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total) {\n var Price1 = total.text().replace(/[$,]+/g, \"\");\n Price1 = parseFloat(Price1);\n tot1 = tot1 + Price1;\n });\n cy.get('#next-button').click({\n force: true\n });\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\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('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n });\n cy.get('#btn-existing-subscription').click({\n force: true\n });\n cy.wait(40000);\n cy.get('button.select-subscription').eq(0).click({\n force: true\n });\n cy.wait(5000);\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(5000);\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(5000);\n cy.get('.select2-results__options li').contains('tiered').click({\n force: true\n });\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 });\n cy.get('#next-button').click({\n force: true\n }).then(function () {\n cy.wait(10000);\n expect(tot2).to.not.eq(tot1);\n });\n cy.wait(18000);\n cy.reload();\n cy.reload();\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.reload().then(function () {\n if (tot2 < tot1) {\n cy.get('[href=\"#CreditNote-subpanel\"]').contains(' Credits ').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-CreditNote_Customer tbody td').eq(2).then(function (credit) {\n var cred = credit.text().replace(/[$,]+/g, \"\");\n cred = parseFloat(cred);\n expect(cred).to.eq(tot1);\n });\n }\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n 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: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-order/10-change-plan.spec.js:114:31)", "diff": null }, "uuid": "e3a0d732-ffbe-4eae-9c07-9ce27406a49b", "parentUUID": "b735979a-6bd6-4afe-b16d-cff50b245955", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "e3a0d732-ffbe-4eae-9c07-9ce27406a49b" ], "pending": [], "skipped": [], "duration": 26212, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "35145acc-77bb-4640-8e6c-8e4a496c2dc3", "title": "", "fullFile": "cypress/integration/SF/h-order/11-change-product.spec.js", "file": "cypress/integration/SF/h-order/11-change-product.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "ebcc34cf-1dbb-4e1f-83b5-55be517c7cf5", "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": 26040, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.btn-create').contains('Create Order').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('#btn-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#next-button').click({\n force: true\n });\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(5000);\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(5000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n var tot1 = 0;\n var tot2 = 0;\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total) {\n var Price1 = total.text().replace(/[$,]+/g, \"\");\n Price1 = parseFloat(Price1);\n tot1 = tot1 + Price1;\n });\n cy.get('#next-button').click({\n force: true\n });\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\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('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n });\n cy.get('#btn-existing-subscription').click({\n force: true\n });\n cy.wait(45000);\n cy.get('button.select-subscription').eq(0).click({\n force: true\n });\n cy.wait(5000);\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(5000);\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(5000);\n cy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n });\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total2) {\n var Price2 = total2.text().replace(/[$,]+/g, \"\");\n Price2 = parseFloat(Price2);\n tot2 = tot2 + Price2;\n });\n cy.get('#next-button').click({\n force: true\n }).then(function () {\n cy.wait(10000);\n expect(tot2).to.not.eq(tot1);\n });\n cy.wait(12000);\n cy.reload();\n cy.reload();\n if (tot2 < tot1) {\n cy.get('[href=\"#CreditNote-subpanel\"]').contains(' Credits ').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-CreditNote_Customer tbody td').eq(2).then(function (credit) {\n var cred = credit.text().replace(/[$,]+/g, \"\");\n cred = parseFloat(cred);\n expect(cred).to.eq(tot1);\n });\n }\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(7).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(8).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + tot2;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n });\n });\n });\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-order/11-change-product.spec.js:114:31)", "diff": null }, "uuid": "2d13b400-91f5-4c92-a186-7d2d593122e9", "parentUUID": "ebcc34cf-1dbb-4e1f-83b5-55be517c7cf5", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "2d13b400-91f5-4c92-a186-7d2d593122e9" ], "pending": [], "skipped": [], "duration": 26040, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "ddfdb8e7-54b5-489b-93cd-27193becf494", "title": "", "fullFile": "cypress/integration/SF/h-order/12-add-line-item.spec.js", "file": "cypress/integration/SF/h-order/12-add-line-item.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "88dbce94-0c14-4091-8927-1f97949ed368", "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": 26226, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.btn-create').contains('Create Order').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('#btn-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#next-button').click({\n force: true\n });\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(5000);\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(5000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n var tot1 = 0;\n var tot2 = 0;\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total) {\n var Price1 = total.text().replace(/[$,]+/g, \"\");\n Price1 = parseFloat(Price1);\n tot1 = tot1 + Price1;\n });\n cy.get('#next-button').click({\n force: true\n });\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(5000);\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('input[type=\"search\"]').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('.link-primary').eq(1).click({\n force: true\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n });\n cy.get('#btn-existing-subscription').click({\n force: true\n });\n cy.wait(45000);\n cy.get('button.select-subscription').eq(0).click({\n force: true\n });\n cy.wait(5000);\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(5000);\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(5000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total2) {\n var Price2 = total2.text().replace(/[$,]+/g, \"\");\n Price2 = parseFloat(Price2);\n tot2 = tot2 + Price2;\n });\n cy.get('#next-button').click({\n force: true\n }).then(function () {\n cy.wait(10000);\n expect(tot2).to.be.greaterThan(tot1);\n });\n cy.wait(18000);\n cy.reload();\n cy.reload();\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(7).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(8).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (tot2 - tot1);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n });\n });\n });\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>", "estack": "AssertionError: Timed out retrying: Expected to find element: `1`, but never found it. Queried from element: <a.bg-white.border.link-primary.text-mu>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-order/12-add-line-item.spec.js:114:31)", "diff": null }, "uuid": "bb241a7c-7e84-403a-8cfe-176334c33725", "parentUUID": "88dbce94-0c14-4091-8927-1f97949ed368", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "bb241a7c-7e84-403a-8cfe-176334c33725" ], "pending": [], "skipped": [], "duration": 26226, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "ed43e15e-e78b-4e32-a7c0-a9faf6892857", "title": "", "fullFile": "cypress/integration/SF/i-invoices/01Make_Payment_Cash.spec.js", "file": "cypress/integration/SF/i-invoices/01Make_Payment_Cash.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "6e02ab3a-0262-4ca8-a2dd-51a059ec022f", "title": "Make Payment", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Make payment through Cash", "fullTitle": "Make Payment Make payment through Cash", "timedOut": null, "duration": 80739, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseFloat(transaction1.text()) + 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td').eq(6).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td').eq(6).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n }\n});", "err": { "message": "AssertionError: expected '\\n $10.00\\n ' to include 'Paid'", "estack": "AssertionError: expected '\\n $10.00\\n ' to include 'Paid'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/01Make_Payment_Cash.spec.js:203:34)", "diff": null }, "uuid": "bee00980-b678-480b-8cb6-492b61eb2824", "parentUUID": "6e02ab3a-0262-4ca8-a2dd-51a059ec022f", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "bee00980-b678-480b-8cb6-492b61eb2824" ], "pending": [], "skipped": [], "duration": 80739, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "3229288e-4170-40eb-ab98-7f6e4b9dd19e", "title": "", "fullFile": "cypress/integration/SF/i-invoices/02Make_Payment_Writeoff.spec.js", "file": "cypress/integration/SF/i-invoices/02Make_Payment_Writeoff.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "2a2a7fd9-1a78-4f30-a597-589796fd858e", "title": "Make Payment", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Make payment writeoff", "fullTitle": "Make Payment Make payment writeoff", "timedOut": null, "duration": 80993, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseFloat(transaction1.text()) + 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td').eq(6).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td').eq(6).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n }\n});", "err": { "message": "AssertionError: expected '\\n $30.00\\n ' to include 'Paid'", "estack": "AssertionError: expected '\\n $30.00\\n ' to include 'Paid'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/02Make_Payment_Writeoff.spec.js:203:34)", "diff": null }, "uuid": "d21b44c3-6ded-4167-8be1-97ce192f6b21", "parentUUID": "2a2a7fd9-1a78-4f30-a597-589796fd858e", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "d21b44c3-6ded-4167-8be1-97ce192f6b21" ], "pending": [], "skipped": [], "duration": 80993, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "27937223-6ed6-4229-84f1-5047e5edf9cb", "title": "", "fullFile": "cypress/integration/SF/i-invoices/03Make_Payment_BankTransfer.spec.js", "file": "cypress/integration/SF/i-invoices/03Make_Payment_BankTransfer.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "16bb5a3a-6714-486a-a50d-3dc353c69a9f", "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": 80612, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\nvar newamount;\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseFloat(transaction1.text()) + 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td').eq(6).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td').eq(6).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n }\n});", "err": { "message": "AssertionError: expected '\\n $30.00\\n ' to include 'Paid'", "estack": "AssertionError: expected '\\n $30.00\\n ' to include 'Paid'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/03Make_Payment_BankTransfer.spec.js:191:36)", "diff": null }, "uuid": "95387098-aa25-4209-a787-74d71e23006b", "parentUUID": "16bb5a3a-6714-486a-a50d-3dc353c69a9f", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "95387098-aa25-4209-a787-74d71e23006b" ], "pending": [], "skipped": [], "duration": 80612, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "6565e6cf-cb79-4411-b83c-290b1435c201", "title": "", "fullFile": "cypress/integration/SF/i-invoices/04Make_Payment_Cheque_Status_Paid.spec.js", "file": "cypress/integration/SF/i-invoices/04Make_Payment_Cheque_Status_Paid.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "575c6cfc-c430-4a56-8cfe-0c5577a74ccf", "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": 79604, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\nvar newamount;\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseFloat(transaction1.text()) + 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td').eq(6).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td').eq(6).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n }\n});", "err": { "message": "AssertionError: expected '\\n $30.00\\n ' to include 'Paid'", "estack": "AssertionError: expected '\\n $30.00\\n ' to include 'Paid'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/04Make_Payment_Cheque_Status_Paid.spec.js:191:36)", "diff": null }, "uuid": "d6b59d9a-6e75-467b-983a-2089b3e84473", "parentUUID": "575c6cfc-c430-4a56-8cfe-0c5577a74ccf", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "d6b59d9a-6e75-467b-983a-2089b3e84473" ], "pending": [], "skipped": [], "duration": 79604, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "a86dab6b-bbcf-4401-8e84-14fe142b9244", "title": "", "fullFile": "cypress/integration/SF/i-invoices/05Make_Payment_Cheque_Status_Approve_Pending.spec.js", "file": "cypress/integration/SF/i-invoices/05Make_Payment_Cheque_Status_Approve_Pending.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "e7e330ac-f741-40a2-9c1b-0cd3850b0e47", "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": 103964, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment(parseFloat(transaction1.text()));\n });\n } else {\n makePayment(0);\n }\n});", "err": {}, "uuid": "9ee9ef1a-131d-4d55-b1e6-30babd6e80da", "parentUUID": "e7e330ac-f741-40a2-9c1b-0cd3850b0e47", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "9ee9ef1a-131d-4d55-b1e6-30babd6e80da" ], "failures": [], "pending": [], "skipped": [], "duration": 103964, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "a3eab8a8-1bbd-4fd1-abb5-f51d43fa944c", "title": "", "fullFile": "cypress/integration/SF/i-invoices/06Make_Payment_Cheque_Status_Decline_Pending.spec.js", "file": "cypress/integration/SF/i-invoices/06Make_Payment_Cheque_Status_Decline_Pending.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "652c1fa3-a33d-48b4-9286-de8da95a755e", "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": 103482, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment(parseFloat(transaction1.text()));\n });\n } else {\n makePayment(0);\n }\n});", "err": {}, "uuid": "dc72bce5-89df-4b5a-a02f-8a096b46bf24", "parentUUID": "652c1fa3-a33d-48b4-9286-de8da95a755e", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "dc72bce5-89df-4b5a-a02f-8a096b46bf24" ], "failures": [], "pending": [], "skipped": [], "duration": 103482, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "a74a2ed4-c9f0-4918-975d-8d4d316ebf8f", "title": "", "fullFile": "cypress/integration/SF/i-invoices/07Make_Payment_Wire_Status_Paid.spec.js", "file": "cypress/integration/SF/i-invoices/07Make_Payment_Wire_Status_Paid.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "6eab085b-8dd8-4635-9f10-0c920f95b86d", "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": 78754, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseFloat(transaction1.text()) + 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td').eq(6).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td').eq(6).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n }\n});", "err": { "message": "AssertionError: expected '\\n $30.00\\n ' to include 'Paid'", "estack": "AssertionError: expected '\\n $30.00\\n ' to include 'Paid'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/07Make_Payment_Wire_Status_Paid.spec.js:190:36)", "diff": null }, "uuid": "0d93930b-77c2-4b93-b006-6bac32614caf", "parentUUID": "6eab085b-8dd8-4635-9f10-0c920f95b86d", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "0d93930b-77c2-4b93-b006-6bac32614caf" ], "pending": [], "skipped": [], "duration": 78754, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "b20a91c0-1ca4-4a04-9f8e-0db232844194", "title": "", "fullFile": "cypress/integration/SF/i-invoices/08Make_Payment_Wire_Status_Approve_Pending.spec.js", "file": "cypress/integration/SF/i-invoices/08Make_Payment_Wire_Status_Approve_Pending.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "3ebe1b1b-1a26-4d9b-866c-7ba01436980e", "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": 102960, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment(parseFloat(transaction1.text()));\n });\n } else {\n makePayment(0);\n }\n});", "err": {}, "uuid": "b7d19ff9-cd00-4571-90ab-04a603478af1", "parentUUID": "3ebe1b1b-1a26-4d9b-866c-7ba01436980e", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "b7d19ff9-cd00-4571-90ab-04a603478af1" ], "failures": [], "pending": [], "skipped": [], "duration": 102960, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "4fa11e1e-d08f-498c-af1e-f63e53ee8481", "title": "", "fullFile": "cypress/integration/SF/i-invoices/09Make_Payment_Wire_Status_Decline_Pending.spec.js", "file": "cypress/integration/SF/i-invoices/09Make_Payment_Wire_Status_Decline_Pending.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "0550ce82-b2ee-40a8-92a0-c7e289cbbc27", "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": 103329, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment(parseFloat(transaction1.text()));\n });\n } else {\n makePayment(0);\n }\n});", "err": {}, "uuid": "0ab04c06-8c02-4ced-b02a-7e41e44d1f25", "parentUUID": "0550ce82-b2ee-40a8-92a0-c7e289cbbc27", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "0ab04c06-8c02-4ced-b02a-7e41e44d1f25" ], "failures": [], "pending": [], "skipped": [], "duration": 103329, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "9be06c8f-c57c-4b8a-ac14-07b41cd409df", "title": "", "fullFile": "cypress/integration/SF/i-invoices/10Make_Payment_Card.spec.js", "file": "cypress/integration/SF/i-invoices/10Make_Payment_Card.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "1f2f0881-e42a-414d-a6da-db7ff848f3f7", "title": "Make Payment", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Make payment through Card", "fullTitle": "Make Payment Make payment through Card", "timedOut": null, "duration": 152911, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td').eq(6).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td').eq(6).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n }\n});", "err": { "message": "AssertionError: expected '\\n $30.00\\n ' to include 'Paid'", "estack": "AssertionError: expected '\\n $30.00\\n ' to include 'Paid'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/10Make_Payment_Card.spec.js:190:36)", "diff": null }, "uuid": "c3c82c03-e534-44c9-a8c6-9fd75bdcd81d", "parentUUID": "1f2f0881-e42a-414d-a6da-db7ff848f3f7", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "c3c82c03-e534-44c9-a8c6-9fd75bdcd81d" ], "pending": [], "skipped": [], "duration": 152911, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "3173ac13-dde7-4f01-b990-26d94c0cbb76", "title": "", "fullFile": "cypress/integration/SF/i-invoices/11Make_Payment_eCheck.spec.js", "file": "cypress/integration/SF/i-invoices/11Make_Payment_eCheck.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "9cb5bb40-d612-450b-947f-42bcfd595d61", "title": "Make Payment", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Make payment through eCheck", "fullTitle": "Make Payment Make payment through eCheck", "timedOut": null, "duration": 156563, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseFloat(transaction1.text()) + 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td').eq(6).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td').eq(6).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n }\n});", "err": { "message": "AssertionError: expected '\\n $30.00\\n ' to include 'Paid'", "estack": "AssertionError: expected '\\n $30.00\\n ' to include 'Paid'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/11Make_Payment_eCheck.spec.js:190:36)", "diff": null }, "uuid": "051947cc-3380-4ecc-8838-eebe4c5085d1", "parentUUID": "9cb5bb40-d612-450b-947f-42bcfd595d61", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "051947cc-3380-4ecc-8838-eebe4c5085d1" ], "pending": [], "skipped": [], "duration": 156563, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "0cdc1e1e-c3a2-4a57-ae8a-e1c5c598f564", "title": "", "fullFile": "cypress/integration/SF/i-invoices/12Make_Payment_PayPal.spec.js", "file": "cypress/integration/SF/i-invoices/12Make_Payment_PayPal.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "fd876d5c-0fe3-42e0-b5ef-5b578fee2aad", "title": "Make Payment", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Make payment through PayPal", "fullTitle": "Make Payment Make payment through PayPal", "timedOut": null, "duration": 87112, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\nmakePayment();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Transaction_Invoice tbody a span').eq(0).click({\n force: true\n});\ncy.get('.card-header .badge').should('have.class', 'badge-status-pending');", "err": {}, "uuid": "d58acd18-b01d-4443-8af3-202157ed6b70", "parentUUID": "fd876d5c-0fe3-42e0-b5ef-5b578fee2aad", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "d58acd18-b01d-4443-8af3-202157ed6b70" ], "failures": [], "pending": [], "skipped": [], "duration": 87112, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "7681c7fa-594e-4bff-a054-38a4d771e54e", "title": "", "fullFile": "cypress/integration/SF/i-invoices/13Public_Checkout_Offline_Approve.spec.js", "file": "cypress/integration/SF/i-invoices/13Public_Checkout_Offline_Approve.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "b8eeda74-e14b-48ea-9353-18cc8c597bb5", "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": 110125, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n }\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody a span').eq(0).click({\n force: true\n });\n cy.get('[data-target=\"#approve-modal\"]').click({\n force: true\n });\n cy.get('#approve-form button[type=\"submit\"]').click({\n force: true\n });\n cy.wait(7000);\n cy.visit(myUrl);\n cy.get('label.badge').should('have.class', 'badge-status-paid');\n });\n});", "err": {}, "uuid": "dd9145d7-08f3-487c-a301-daa64b09a7ff", "parentUUID": "b8eeda74-e14b-48ea-9353-18cc8c597bb5", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "dd9145d7-08f3-487c-a301-daa64b09a7ff" ], "failures": [], "pending": [], "skipped": [], "duration": 110125, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "7d6acf84-27eb-4e8d-a772-933f9bec530e", "title": "", "fullFile": "cypress/integration/SF/i-invoices/14Public_Checkout_Offline_Decline.spec.js", "file": "cypress/integration/SF/i-invoices/14Public_Checkout_Offline_Decline.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "3de988b5-6f73-4b49-bc0a-a40cfe3691ee", "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": 112290, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n }\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody a span').eq(0).click({\n force: true\n });\n cy.get('a[data-target=\"#decline-modal\"]').click({\n force: true\n });\n cy.get('#decline-form textarea').type('Some reason');\n cy.get('#decline-form button[type=\"submit\"]').click({\n force: true\n });\n cy.visit(myUrl);\n cy.get('label.badge').should('not.have.class', 'badge-status-paid');\n });\n});", "err": {}, "uuid": "5cd1a33c-0d46-4bd6-a321-bc8604375b58", "parentUUID": "3de988b5-6f73-4b49-bc0a-a40cfe3691ee", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "5cd1a33c-0d46-4bd6-a321-bc8604375b58" ], "failures": [], "pending": [], "skipped": [], "duration": 112290, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "320f91e3-3c81-43de-8ff4-c80317cc0eaa", "title": "", "fullFile": "cypress/integration/SF/i-invoices/15Public_Checkout_CreditCard_AuthorizNet.spec.js", "file": "cypress/integration/SF/i-invoices/15Public_Checkout_CreditCard_AuthorizNet.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "44c8ca43-319d-41ba-ad71-b15bd178812c", "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": 143850, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Authorize.NET').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/invoices');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n }\n cy.get('label.badge').should('have.class', 'badge-status-paid');\n });\n});", "err": {}, "uuid": "51f66923-ff3b-4067-9ccf-0438f420a908", "parentUUID": "44c8ca43-319d-41ba-ad71-b15bd178812c", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "51f66923-ff3b-4067-9ccf-0438f420a908" ], "failures": [], "pending": [], "skipped": [], "duration": 143850, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "f1ff0892-f15b-414d-927d-3a303f0e438b", "title": "", "fullFile": "cypress/integration/SF/i-invoices/16Public_Checkout_BankTransfer_AuthorizeNet.spec.js", "file": "cypress/integration/SF/i-invoices/16Public_Checkout_BankTransfer_AuthorizeNet.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "86cf39f3-c337-4b91-8b9e-df397aed7825", "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": 150922, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Authorize.NET').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/invoices');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n }\n cy.get('label.badge').should('have.class', 'badge-status-paid');\n });\n});", "err": {}, "uuid": "78a73008-5391-46ad-8667-1af38dd67092", "parentUUID": "86cf39f3-c337-4b91-8b9e-df397aed7825", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "78a73008-5391-46ad-8667-1af38dd67092" ], "failures": [], "pending": [], "skipped": [], "duration": 150922, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "f8111ea6-505b-4363-b6d5-64e3cbbe7fcb", "title": "", "fullFile": "cypress/integration/SF/i-invoices/18Public_Checkout_CreditCard_Stripe.spec.js", "file": "cypress/integration/SF/i-invoices/18Public_Checkout_CreditCard_Stripe.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "268b2179-e787-48e8-9e37-e1dae5069b1b", "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": 174241, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Stripe').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.wait(20000);\ncy.visit('https://test.subscriptionflow.com/en/invoices');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n }\n cy.get('label.badge').should('have.class', 'badge-status-paid');\n });\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find content: 'Payment has been processed successfully.' within the element: [ <h4.lead.m-0.text-danger>, 2 more... ] but never did.", "estack": "AssertionError: Timed out retrying: Expected to find content: 'Payment has been processed successfully.' within the element: [ <h4.lead.m-0.text-danger>, 2 more... ] but never did.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/18Public_Checkout_CreditCard_Stripe.spec.js:334:74)", "diff": null }, "uuid": "1993a218-54a8-4d16-a912-64fad8f9a217", "parentUUID": "268b2179-e787-48e8-9e37-e1dae5069b1b", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "1993a218-54a8-4d16-a912-64fad8f9a217" ], "pending": [], "skipped": [], "duration": 174241, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "824e3795-fef3-4253-acef-0e653adc7ec7", "title": "", "fullFile": "cypress/integration/SF/i-invoices/21Public_Checkout_PayPal_ExpressCheckout_Approve.spec.js", "file": "cypress/integration/SF/i-invoices/21Public_Checkout_PayPal_ExpressCheckout_Approve.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "8c5c5792-ef1a-480f-8112-99e64d8645f7", "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": 111843, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n }\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody a span').eq(0).click({\n force: true\n });\n cy.get('.card-header .badge').should('have.class', 'badge-status-pending');\n });\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `#related-table-transaction .sf-pagination-wrapper span.bold`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#related-table-transaction .sf-pagination-wrapper span.bold`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/21Public_Checkout_PayPal_ExpressCheckout_Approve.spec.js:199:14)", "diff": null }, "uuid": "39fec239-f529-46f6-ac0b-7b06b1a1db99", "parentUUID": "8c5c5792-ef1a-480f-8112-99e64d8645f7", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "39fec239-f529-46f6-ac0b-7b06b1a1db99" ], "pending": [], "skipped": [], "duration": 111843, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "7dd27224-15de-4dbf-a1e5-ff1eb0c83f1f", "title": "", "fullFile": "cypress/integration/SF/i-invoices/23Add_payment_method_using_Make_Payment_for_credit_card_using_Authorize.net.spec.js", "file": "cypress/integration/SF/i-invoices/23Add_payment_method_using_Make_Payment_for_credit_card_using_Authorize.net.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "914405a8-69a5-42c0-b29d-f6250c76602a", "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": 126401, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n cy.get('.row-c a.link-primary').eq(0).click({\n force: true\n });\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#related-table-paymentmethod').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n });\n }\n });\n cy.visit(myUrl);\n});\ncy.get('button.btn.detail-btn-bars').click({\n force: true\n});\ncy.get('ul li').contains('Make Payment').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#cash_or_card-input').select('Card');\ncy.get('#sale_form i.fas.fa-plus').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#payment-gateway-input').select('Authorize.NET');\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": {}, "uuid": "13cc7336-234e-40d2-a93e-8fa164dcb282", "parentUUID": "914405a8-69a5-42c0-b29d-f6250c76602a", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "13cc7336-234e-40d2-a93e-8fa164dcb282" ], "failures": [], "pending": [], "skipped": [], "duration": 126401, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "856698f5-978f-4319-8eea-d33898834bfd", "title": "", "fullFile": "cypress/integration/SF/i-invoices/24Add_payment_method_using_Make_Payment_for_ACH_using_Authorize.net.spec.js", "file": "cypress/integration/SF/i-invoices/24Add_payment_method_using_Make_Payment_for_ACH_using_Authorize.net.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "6fc61978-c52e-4357-b9e4-4e58383790f6", "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": 131221, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n cy.get('.row-c a.link-primary').eq(0).click({\n force: true\n });\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#related-table-paymentmethod').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n });\n }\n });\n cy.visit(myUrl);\n});\ncy.get('button.btn.detail-btn-bars').click({\n force: true\n});\ncy.get('ul li').contains('Make Payment').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#cash_or_card-input').select('eCheck');\ncy.get('#sale_form i.fas.fa-plus').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#payment-gateway-input').select('Authorize.NET');\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-search__field').type('New York');\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('input[name=\"billing_postalcode\"]').clear({\n force: true\n}).type('1111', {\n force: true\n});\ncy.get('input[name=\"billing_address1\"]').clear({\n force: true\n}).type('1111', {\n force: true\n});\ncy.get('input[name=\"billing_address2\"]').clear({\n force: true\n}).type('1111', {\n force: true\n});\ncy.get('#payment_option-ACH').click({\n force: true\n});\ncy.get('#routing_number-input').type('021000021');\ncy.get('#account_number-input').type('111111114');\ncy.wait(5000);\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": {}, "uuid": "4ccbd5f0-166c-487b-bcf5-edcbb0f04a0d", "parentUUID": "6fc61978-c52e-4357-b9e4-4e58383790f6", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "4ccbd5f0-166c-487b-bcf5-edcbb0f04a0d" ], "failures": [], "pending": [], "skipped": [], "duration": 131221, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "bf9e1ff1-ef18-4e15-9374-68ab29ee122a", "title": "", "fullFile": "cypress/integration/SF/i-invoices/26Add_payment_method_using_Make_Payment_for_credit_card_using_Stripe.spec.js", "file": "cypress/integration/SF/i-invoices/26Add_payment_method_using_Make_Payment_for_credit_card_using_Stripe.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "57c78673-7f79-4767-8108-574298e760c4", "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": 117320, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('button.btn.detail-btn-bars').click({\n force: true\n});\ncy.get('ul li').contains('Make Payment').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#cash_or_card-input').select('Card');\ncy.get('#sale_form i.fas.fa-plus').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#payment-gateway-input').select('Stripe');\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-search__field').type('New York');\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).click({\n force: true\n }).clear().type('4242424242424242');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(1).click({\n force: true\n }).clear().type('425');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(2).click({\n force: true\n }).clear().type('424');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(3).click({\n force: true\n }).clear().type('77777');\n});\ncy.wait(5000);\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: expected ' Andy Barymore [****1114] - Default ' to include '4242'", "estack": "AssertionError: expected ' Andy Barymore [****1114] - Default ' to include '4242'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/26Add_payment_method_using_Make_Payment_for_credit_card_using_Stripe.spec.js:242:34)", "diff": null }, "uuid": "d25d602f-6513-4a52-91c8-ab5d59675ce7", "parentUUID": "57c78673-7f79-4767-8108-574298e760c4", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "d25d602f-6513-4a52-91c8-ab5d59675ce7" ], "pending": [], "skipped": [], "duration": 117320, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "e6174df1-cdbd-420b-8df2-c2e35ed09e93", "title": "", "fullFile": "cypress/integration/SF/i-invoices/27Add_payment_method_using_Make_Payment_for_ACH_using_Stripe.spec.js", "file": "cypress/integration/SF/i-invoices/27Add_payment_method_using_Make_Payment_for_ACH_using_Stripe.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "de53d52a-d1e6-4a3b-8f93-3bbfdf447a23", "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": 164460, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n cy.get('.row-c a.link-primary').eq(0).click({\n force: true\n });\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#related-table-paymentmethod').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n });\n }\n });\n cy.url().then(function (custUrl) {\n cy.visit(myUrl);\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Make Payment').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#cash_or_card-input').select('eCheck');\n cy.get('#sale_form i.fas.fa-plus').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#payment-gateway-input').select('Stripe');\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(7000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(7000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(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.get('#routing_number-input').type('110000000');\n cy.get('#account_number-input').type('000222222227');\n cy.wait(5000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.visit(custUrl);\n });\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer a.btn').contains('Verify').click({\n force: true\n });\n cy.wait(5000);\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(5000);\n cy.visit(myUrl);\n});\ncy.get('button.btn.detail-btn-bars').click({\n force: true\n});\ncy.get('ul li').contains('Make Payment').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#cash_or_card-input').select('eCheck');\ncy.get('#payment_method_id-input option').each(function (option) {\n if (option.text().includes('Default')) {\n expect(option.text()).to.include('2227');\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find content: 'Verify' within the element: <a.btn.btn-link.p-0.link-primary.create-center-modal> but never did.", "estack": "AssertionError: Timed out retrying: Expected to find content: 'Verify' within the element: <a.btn.btn-link.p-0.link-primary.create-center-modal> but never did.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/27Add_payment_method_using_Make_Payment_for_ACH_using_Stripe.spec.js:275:71)", "diff": null }, "uuid": "737aafee-5f42-416d-ae55-45bb4f680aad", "parentUUID": "de53d52a-d1e6-4a3b-8f93-3bbfdf447a23", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "737aafee-5f42-416d-ae55-45bb4f680aad" ], "pending": [], "skipped": [], "duration": 164460, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "039131a0-aa6b-4d43-965b-36a1dc40d80c", "title": "", "fullFile": "cypress/integration/SF/i-invoices/28Add_Payment_Method_using_Make_Payment_for_ACH_using_GoCardless.spec.js", "file": "cypress/integration/SF/i-invoices/28Add_Payment_Method_using_Make_Payment_for_ACH_using_GoCardless.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "69af03dc-37b6-434c-90fd-e3c731c48473", "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": 146145, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = 0;\nvar j;\ncy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Invoice Number\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a span\";\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().click({\n force: true\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n cy.get('.row-c a.link-primary').eq(0).click({\n force: true\n });\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#related-table-paymentmethod').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n });\n }\n });\n cy.url().then(function (custUrl) {\n cy.visit(myUrl);\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Make Payment').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#cash_or_card-input').select('eCheck');\n cy.get('#sale_form i.fas.fa-plus').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#payment-gateway-input').select('GoCardless');\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(7000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(7000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(7000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(7000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(7000);\n cy.get('.select2-search__field').type('Adams');\n cy.wait(7000);\n cy.get('#select2-billing_city-input-results li').contains('Adams').click({\n force: true\n });\n cy.get('input[name=\"billing_postalcode\"]').clear({\n force: true\n }).type('1111', {\n force: true\n });\n cy.get('input[name=\"billing_address1\"]').clear({\n force: true\n }).type('1111', {\n force: true\n });\n cy.get('input[name=\"billing_address2\"]').clear({\n force: true\n }).type('1111', {\n force: true\n });\n cy.get('#payment_option-ACH').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(7000);\n cy.visit(custUrl);\n });\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#related-table-paymentmethod td').contains('GoCardless').should('exist');\n});", "err": {}, "uuid": "a10c75e4-fb30-416f-8a8a-bd6d894479fc", "parentUUID": "69af03dc-37b6-434c-90fd-e3c731c48473", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "a10c75e4-fb30-416f-8a8a-bd6d894479fc" ], "failures": [], "pending": [], "skipped": [], "duration": 146145, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "90f2f845-88ca-497c-aad7-2e4ce4b081fc", "title": "", "fullFile": "cypress/integration/SF/j-transactions/01Pay_Invoice_Using_Unapplied_Amount.spec.js", "file": "cypress/integration/SF/j-transactions/01Pay_Invoice_Using_Unapplied_Amount.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "afb3a415-50ba-4253-911b-6a2161d29670", "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": 85187, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type(0, {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('#sidebar_checkboxes .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('input[name=\"filter_value[status]\"]').type('Paid', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get('tbody .link-primary').eq(0).click({\n force: true\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(5000);\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('.link-primary').eq(1).click({\n force: true\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 createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();", "err": {}, "uuid": "7b480f60-360e-405f-8f14-3b26ffa39815", "parentUUID": "afb3a415-50ba-4253-911b-6a2161d29670", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "7b480f60-360e-405f-8f14-3b26ffa39815" ], "failures": [], "pending": [], "skipped": [], "duration": 85187, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "e1367afb-1c02-4ac0-8141-8df7439a2fb8", "title": "", "fullFile": "cypress/integration/SF/j-transactions/02Pay_Invoice_Using_Unapplied_Amt_Gt_Allocated.spec.js", "file": "cypress/integration/SF/j-transactions/02Pay_Invoice_Using_Unapplied_Amt_Gt_Allocated.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "38facbc9-104d-40b3-b727-b3071f52f247", "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": 143329, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type(0, {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('#sidebar_checkboxes .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('input[name=\"filter_value[status]\"]').type('Paid', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get('tbody .link-primary').eq(0).click({\n force: true\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(5000);\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('.link-primary').eq(1).click({\n force: true\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 createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();", "err": {}, "uuid": "6daa31f7-a79c-4b93-aab3-e7e28f4ce213", "parentUUID": "38facbc9-104d-40b3-b727-b3071f52f247", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "6daa31f7-a79c-4b93-aab3-e7e28f4ce213" ], "failures": [], "pending": [], "skipped": [], "duration": 143329, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "0ffa3239-ece7-477b-87b5-a6476cacf086", "title": "", "fullFile": "cypress/integration/SF/j-transactions/03Pay_Invoice_Using_Unapplied_Amt_Lt_Allocated.spec.js", "file": "cypress/integration/SF/j-transactions/03Pay_Invoice_Using_Unapplied_Amt_Lt_Allocated.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "c51052a6-45ee-4281-be0a-1ec6344195ba", "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": 60412, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type(0, {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('#sidebar_checkboxes .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('input[name=\"filter_value[status]\"]').type('Paid', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get('tbody .link-primary').eq(0).click({\n force: true\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(5000);\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('.link-primary').eq(1).click({\n force: true\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 createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();", "err": {}, "uuid": "0cd44264-a14e-4773-8239-5f4588dcd4c7", "parentUUID": "c51052a6-45ee-4281-be0a-1ec6344195ba", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "0cd44264-a14e-4773-8239-5f4588dcd4c7" ], "failures": [], "pending": [], "skipped": [], "duration": 60412, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "9bfe9444-97ab-42d8-ae6b-a0eb9a04307b", "title": "", "fullFile": "cypress/integration/SF/j-transactions/04Pay_Invoice_Using_Unapplied_Amt_Lt_Outstanding.spec.js", "file": "cypress/integration/SF/j-transactions/04Pay_Invoice_Using_Unapplied_Amt_Lt_Outstanding.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "fb6d883a-7f77-477e-817c-9d2d205b29ff", "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": 72758, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type(0, {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('#sidebar_checkboxes .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('input[name=\"filter_value[status]\"]').type('Paid', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get('tbody .link-primary').eq(0).click({\n force: true\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(5000);\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('.link-primary').eq(1).click({\n force: true\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 createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();", "err": {}, "uuid": "17c27bd2-ff20-4c14-a449-6503b2452897", "parentUUID": "fb6d883a-7f77-477e-817c-9d2d205b29ff", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "17c27bd2-ff20-4c14-a449-6503b2452897" ], "failures": [], "pending": [], "skipped": [], "duration": 72758, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "3332d3eb-c069-4301-aa91-057ae90ada4c", "title": "", "fullFile": "cypress/integration/SF/j-transactions/05Pay_Invoice_Using_Unapplied_Amt_Eq_Outstanding.spec.js", "file": "cypress/integration/SF/j-transactions/05Pay_Invoice_Using_Unapplied_Amt_Eq_Outstanding.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "59bcb74a-4ac4-4d74-9670-101ebede8a5e", "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": 72892, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type(0, {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('#sidebar_checkboxes .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('input[name=\"filter_value[status]\"]').type('Paid', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get('tbody .link-primary').eq(0).click({\n force: true\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(5000);\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('.link-primary').eq(1).click({\n force: true\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 createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();", "err": {}, "uuid": "5330f3d5-8c86-422d-83cb-d67ff6946052", "parentUUID": "59bcb74a-4ac4-4d74-9670-101ebede8a5e", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "5330f3d5-8c86-422d-83cb-d67ff6946052" ], "failures": [], "pending": [], "skipped": [], "duration": 72892, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "5c9a0e05-b681-434e-820c-a72a705a32c7", "title": "", "fullFile": "cypress/integration/SF/j-transactions/06Pay_Invoice_Using_Unapplied_Amt_Gtr_Than_Outstanding.spec.js", "file": "cypress/integration/SF/j-transactions/06Pay_Invoice_Using_Unapplied_Amt_Gtr_Than_Outstanding.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "c1968455-a1da-452b-8571-b7eaf264b0ee", "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": 62871, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type(0, {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('#sidebar_checkboxes .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('input[name=\"filter_value[status]\"]').type('Paid', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get('tbody .link-primary').eq(0).click({\n force: true\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(5000);\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('.link-primary').eq(1).click({\n force: true\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 createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `[href=\"#Order-subpanel`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `[href=\"#Order-subpanel`, but never found it.\n at createOrder (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-transactions/06Pay_Invoice_Using_Unapplied_Amt_Gtr_Than_Outstanding.spec.js:226:6)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-transactions/06Pay_Invoice_Using_Unapplied_Amt_Gtr_Than_Outstanding.spec.js:196:11)", "diff": null }, "uuid": "fdfc5529-5a81-4fbb-ba58-89c9de6614d6", "parentUUID": "c1968455-a1da-452b-8571-b7eaf264b0ee", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "fdfc5529-5a81-4fbb-ba58-89c9de6614d6" ], "pending": [], "skipped": [], "duration": 62871, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "95db8212-1e0c-4739-8ce5-cb77f4975ca7", "title": "", "fullFile": "cypress/integration/SF/j-transactions/07Pay_Multiple_Invoice_Using_Unapplied_Amt.spec.js", "file": "cypress/integration/SF/j-transactions/07Pay_Multiple_Invoice_Using_Unapplied_Amt.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "3a3652db-c8e6-4dc6-970e-bc811a85517f", "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": 64340, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type(0, {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('#sidebar_checkboxes .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('input[name=\"filter_value[status]\"]').type('Paid', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"No matching records found\") {\n expect(rows.text()).to.eq('No matching records found');\n } else {\n cy.get('tbody .link-primary').eq(0).click({\n force: true\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(5000);\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('.link-primary').eq(1).click({\n force: true\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 createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `[href=\"#Order-subpanel`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `[href=\"#Order-subpanel`, but never found it.\n at createOrder (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-transactions/07Pay_Multiple_Invoice_Using_Unapplied_Amt.spec.js:250:6)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-transactions/07Pay_Multiple_Invoice_Using_Unapplied_Amt.spec.js:196:11)", "diff": null }, "uuid": "ef92bd2d-2d28-48a7-ba82-fad35c512038", "parentUUID": "3a3652db-c8e6-4dc6-970e-bc811a85517f", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "ef92bd2d-2d28-48a7-ba82-fad35c512038" ], "pending": [], "skipped": [], "duration": 64340, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "ed974648-9031-4391-a4db-c96507ed0a07", "title": "", "fullFile": "cypress/integration/SF/z-logout/logout_spec.js", "file": "cypress/integration/SF/z-logout/logout_spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "c7a20c13-2a9a-4c1a-ba8e-bd76da12a731", "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": 7620, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();", "err": {}, "uuid": "b5c53fa9-e091-4a8d-95ab-3acde3fd4832", "parentUUID": "c7a20c13-2a9a-4c1a-ba8e-bd76da12a731", "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": 157, "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": "81e75a59-8e74-43ea-89db-cb40f538e938", "parentUUID": "c7a20c13-2a9a-4c1a-ba8e-bd76da12a731", "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": 8358, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.get('.text-danger').click({\n force: true\n});\ncy.location('pathname').should('include', 'login');", "err": { "message": "AssertionError: Timed out retrying: expected '/en/dashboard' to include 'login'", "estack": "AssertionError: Timed out retrying: expected '/en/dashboard' to include 'login'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/z-logout/logout_spec.js:114:29)", "diff": null }, "uuid": "91e7ff98-db4a-4b73-9d14-23b1e2688162", "parentUUID": "c7a20c13-2a9a-4c1a-ba8e-bd76da12a731", "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": 1268, "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": "7fa3023f-0836-46dd-a19a-2b6dc1315104", "parentUUID": "c7a20c13-2a9a-4c1a-ba8e-bd76da12a731", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "b5c53fa9-e091-4a8d-95ab-3acde3fd4832", "81e75a59-8e74-43ea-89db-cb40f538e938", "7fa3023f-0836-46dd-a19a-2b6dc1315104" ], "failures": [ "91e7ff98-db4a-4b73-9d14-23b1e2688162" ], "pending": [], "skipped": [], "duration": 17403, "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" } } }