/
var
/
www
/
html
/
subscription-test-cases
/
Upload File
HOME
{ "stats": { "suites": 206, "tests": 253, "passes": 129, "pending": 0, "failures": 124, "start": "2021-02-05T02:11:34.016Z", "end": "2021-02-05T02:11:34.016Z", "duration": 20640039, "testsRegistered": 253, "passPercent": 50.98814229249012, "pendingPercent": 0, "other": 0, "hasOther": false, "skipped": 0, "hasSkipped": false }, "results": [ { "uuid": "a078c059-568d-477b-ba27-446255593fdc", "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": "57887143-7574-4e6a-a5ee-b3ffe00f55fa", "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": 8330, "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": "e2ef000c-6285-4a9b-a1c9-67b90bb1b958", "parentUUID": "57887143-7574-4e6a-a5ee-b3ffe00f55fa", "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": 4509, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.get('.navbar-brand').contains('Dashboard');", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `.navbar-brand`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `.navbar-brand`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/1-login/1-login_spec.js:105:8)", "diff": null }, "uuid": "4ec38398-9193-4b1d-b4bc-b5899875dcad", "parentUUID": "57887143-7574-4e6a-a5ee-b3ffe00f55fa", "isHook": false, "skipped": false }, { "title": "I should see \"Welcome <Username>\" ", "fullTitle": "Login to the Customer Portal I should see \"Welcome <Username>\" ", "timedOut": null, "duration": 4566, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.contains('Welcome');", "err": { "message": "AssertionError: Timed out retrying: Expected to find content: 'Welcome' but never did.", "estack": "AssertionError: Timed out retrying: Expected to find content: 'Welcome' but never did.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/1-login/1-login_spec.js:108:8)", "diff": null }, "uuid": "0cd9a272-ae17-4e61-8560-a97bd89cc54c", "parentUUID": "57887143-7574-4e6a-a5ee-b3ffe00f55fa", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "e2ef000c-6285-4a9b-a1c9-67b90bb1b958" ], "failures": [ "4ec38398-9193-4b1d-b4bc-b5899875dcad", "0cd9a272-ae17-4e61-8560-a97bd89cc54c" ], "pending": [], "skipped": [], "duration": 17405, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "6c243da8-240e-413c-918b-380ff88412fe", "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": "95b8d4dd-a807-4b17-8ca8-08ea6265dbf3", "title": "Subscription", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Subscription - Create Subscription", "fullTitle": "Subscription Subscription - Create Subscription", "timedOut": null, "duration": 17974, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "var totalSub = 0;\nvar totalInv = 0;\ncy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.wait(5000);\ncy.get('.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": { "message": "AssertionError: Timed out retrying: Expected to find element: `.fa-file-invoice-dollar`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `.fa-file-invoice-dollar`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/1-subscription.spec.js:106:8)", "diff": null }, "uuid": "c2f384da-22d6-4251-aebd-d1829e8a096b", "parentUUID": "95b8d4dd-a807-4b17-8ca8-08ea6265dbf3", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "c2f384da-22d6-4251-aebd-d1829e8a096b" ], "pending": [], "skipped": [], "duration": 17974, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "7caafd11-651a-421f-99b1-2b43bf0ce233", "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": "79963eb9-0492-4b91-8104-000eb52bcf40", "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": 13006, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.url().should('include', '/portal/subscriptions');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\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('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$€,]+/g, \"\");\n totalAfter = +normalVal;\n expect(totalAfter).to.gt(totalBefore);\n});", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/subscriptions'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/subscriptions'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/2-subscription-upgrade.spec.js:103:14)", "diff": null }, "uuid": "b3f7ad4c-f4cc-4d9a-990c-54bd68d65bdb", "parentUUID": "79963eb9-0492-4b91-8104-000eb52bcf40", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "b3f7ad4c-f4cc-4d9a-990c-54bd68d65bdb" ], "pending": [], "skipped": [], "duration": 13006, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "587dd967-a36d-4c5b-9c7e-e357f5a231c5", "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": "d8272b88-74a0-4d48-9512-69f1b19097cb", "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": 12905, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.url().should('include', '/portal/subscriptions');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\nvar totalBefore = 0;\nvar totalAfter = 0;\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$€,]+/g, \"\");\n totalBefore = +normalVal;\n});\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('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$€,]+/g, \"\");\n totalAfter = +normalVal;\n expect(totalAfter).to.lt(totalBefore);\n});", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/subscriptions'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/subscriptions'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/3-subscription-downgrade.spec.js:103:14)", "diff": null }, "uuid": "ff569674-7540-4ca2-93e7-4ef97b48943e", "parentUUID": "d8272b88-74a0-4d48-9512-69f1b19097cb", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "ff569674-7540-4ca2-93e7-4ef97b48943e" ], "pending": [], "skipped": [], "duration": 12905, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "9acda31d-7b5d-45c2-8b0f-9c30f7d74cb1", "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": "6c0c0d54-fc16-4304-90b2-b82806c2e137", "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": 17815, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.wait(5000);\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"] .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns button.btn.btn-warning.m-0').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#suspendSubscriptionModal').should('have.class', 'show');\ncy.wait(5000);\ncy.get('#suspendSubscriptionModal button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.actionBtns button.btn.btn-success.m-0').then(function (elm) {\n expect(elm.text().trim()).to.eq('Resume');\n});\ncy.get('span.ml-2.badge.badge-status-suspended').then(function (elm) {\n expect(elm.text().trim()).to.eq('Suspended');\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `select.form-control`, but never found it. Queried from element: <div.row>", "estack": "AssertionError: Timed out retrying: Expected to find element: `select.form-control`, but never found it. Queried from element: <div.row>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/4-subscription-suspend.spec.js:104:51)", "diff": null }, "uuid": "15a37069-e753-4000-899e-6ec4aa37cda9", "parentUUID": "6c0c0d54-fc16-4304-90b2-b82806c2e137", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "15a37069-e753-4000-899e-6ec4aa37cda9" ], "pending": [], "skipped": [], "duration": 17815, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "e43ef310-4195-4901-b174-861568c07fb8", "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": "237f8d08-a3d7-4d00-9cce-1805ceca3248", "title": "Subscription - Resume", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Go to subscription's listing page and filter Suspended subscription then perform Subscription - Resume", "fullTitle": "Subscription - Resume Go to subscription's listing page and filter Suspended subscription then perform Subscription - Resume", "timedOut": null, "duration": 19372, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.wait(5000);\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Suspended', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"] .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns button.btn.btn-success.m-0').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#resumeSubscriptionModal').should('have.class', 'show');\ncy.wait(5000);\ncy.get('#resumeSubscriptionModal button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.actionBtns .btn.btn-warning').then(function (elm) {\n expect(elm.text().trim()).to.eq('Suspend');\n});\ncy.get('span.ml-2.badge.badge-status-active').then(function (elm) {\n expect(elm.text().trim()).to.eq('Active');\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `select.form-control`, but never found it. Queried from element: <div.row>", "estack": "AssertionError: Timed out retrying: Expected to find element: `select.form-control`, but never found it. Queried from element: <div.row>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/5-subscription-resume.spec.js:104:51)", "diff": null }, "uuid": "b3bcf352-a18e-4d48-a4c9-5050e8b5835c", "parentUUID": "237f8d08-a3d7-4d00-9cce-1805ceca3248", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "b3bcf352-a18e-4d48-a4c9-5050e8b5835c" ], "pending": [], "skipped": [], "duration": 19372, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "a38b1325-a8e5-4e50-b08c-ef24b9f0ed9a", "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": "cfc119aa-d8d8-49d9-9a75-e2558ef79971", "title": "Subscription - Cancel", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Go to subscription's listing page and perform Subscription - Cancel", "fullTitle": "Subscription - Cancel Go to subscription's listing page and perform Subscription - Cancel", "timedOut": null, "duration": 12725, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"] .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns button.btn.btn-danger.m-0').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#cancelSubscriptionModal').should('have.class', 'show');\ncy.wait(5000);\ncy.get('#cancelSubscriptionModal button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('span.ml-2.badge.badge-status-cancelled').then(function (elm) {\n expect(elm.text().trim()).to.eq('Cancelled');\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `select.form-control`, but never found it. Queried from element: <div.row>", "estack": "AssertionError: Timed out retrying: Expected to find element: `select.form-control`, but never found it. Queried from element: <div.row>\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/6-subscription-cancel.spec.js:103:51)", "diff": null }, "uuid": "442bdd33-cc32-4718-a17b-fb7cda6e6bb0", "parentUUID": "cfc119aa-d8d8-49d9-9a75-e2558ef79971", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "442bdd33-cc32-4718-a17b-fb7cda6e6bb0" ], "pending": [], "skipped": [], "duration": 12725, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "cc36b265-4d4a-49e4-95ea-0569313d887d", "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": "f4945ab9-140e-4581-be78-8da137913eb8", "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": 12837, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.url().should('include', '/portal/subscriptions');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\nvar totalBefore = 0;\nvar totalAfter = 0;\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$€,]+/g, \"\");\n totalBefore = +normalVal;\n});\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": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/subscriptions'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/subscriptions'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/7-subscription-change-plan.spec.js:103:14)", "diff": null }, "uuid": "77617faf-c3f6-4c02-8cf8-5a3d95166a8c", "parentUUID": "f4945ab9-140e-4581-be78-8da137913eb8", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "77617faf-c3f6-4c02-8cf8-5a3d95166a8c" ], "pending": [], "skipped": [], "duration": 12837, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "b31cf54b-2cde-4128-ac3a-d5fb15a1a57a", "title": "", "fullFile": "cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js", "file": "cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "c136ff5b-1a1e-4eb7-9875-bb60ba513251", "title": "Invoice - Make Payment By Adding payment method for ACH using Stripe (PortalFlow)", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Invoice - Due Filter", "fullTitle": "Invoice - Make Payment By Adding payment method for ACH using Stripe (PortalFlow) Invoice - Due Filter", "timedOut": null, "duration": 15893, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Due', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('body').then(function ($body) {\n if ($body.find('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').length) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Due');\n });\n }\n});", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js:104:14)", "diff": null }, "uuid": "fc41aa29-9985-4eb9-911b-5b832abe3835", "parentUUID": "c136ff5b-1a1e-4eb7-9875-bb60ba513251", "isHook": false, "skipped": false }, { "title": "Invoice - Overdue Filter", "fullTitle": "Invoice - Make Payment By Adding payment method for ACH using Stripe (PortalFlow) Invoice - Overdue Filter", "timedOut": null, "duration": 16472, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Overdue', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('body').then(function ($body) {\n if ($body.find('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').length) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Overdue');\n });\n }\n});", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js:124:14)", "diff": null }, "uuid": "ff8d6b89-5119-4922-a4c1-62ddd9181d1f", "parentUUID": "c136ff5b-1a1e-4eb7-9875-bb60ba513251", "isHook": false, "skipped": false }, { "title": "Invoice - Partially Paid Filter", "fullTitle": "Invoice - Make Payment By Adding payment method for ACH using Stripe (PortalFlow) Invoice - Partially Paid Filter", "timedOut": null, "duration": 15962, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Partially Paid', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('body').then(function ($body) {\n if ($body.find('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').length) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Partially Paid');\n });\n }\n});", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js:144:14)", "diff": null }, "uuid": "1fe8d3ca-8be2-46cf-a987-cb4c0d7572ab", "parentUUID": "c136ff5b-1a1e-4eb7-9875-bb60ba513251", "isHook": false, "skipped": false }, { "title": "Invoice - Paid Filter", "fullTitle": "Invoice - Make Payment By Adding payment method for ACH using Stripe (PortalFlow) Invoice - Paid Filter", "timedOut": null, "duration": 16202, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Paid', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('body').then(function ($body) {\n if ($body.find('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').length) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Paid');\n });\n }\n});", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js:164:14)", "diff": null }, "uuid": "0021ce1b-177f-4d39-8388-ddc328da9f86", "parentUUID": "c136ff5b-1a1e-4eb7-9875-bb60ba513251", "isHook": false, "skipped": false }, { "title": "Invoice - Bounced Filter", "fullTitle": "Invoice - Make Payment By Adding payment method for ACH using Stripe (PortalFlow) Invoice - Bounced Filter", "timedOut": null, "duration": 18040, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Bounced', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('body').then(function ($body) {\n if ($body.find('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').length) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Bounced');\n });\n }\n});", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js:184:14)", "diff": null }, "uuid": "f6658f57-ee40-4d66-8d79-5f78d155c71a", "parentUUID": "c136ff5b-1a1e-4eb7-9875-bb60ba513251", "isHook": false, "skipped": false }, { "title": "Invoice - Void Filter", "fullTitle": "Invoice - Make Payment By Adding payment method for ACH using Stripe (PortalFlow) Invoice - Void Filter", "timedOut": null, "duration": 16217, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Void', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('body').then(function ($body) {\n if ($body.find('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').length) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Void');\n });\n }\n});", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js:204:14)", "diff": null }, "uuid": "8d7c9989-6f6e-4367-9af2-9793d11affd7", "parentUUID": "c136ff5b-1a1e-4eb7-9875-bb60ba513251", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "fc41aa29-9985-4eb9-911b-5b832abe3835", "ff8d6b89-5119-4922-a4c1-62ddd9181d1f", "1fe8d3ca-8be2-46cf-a987-cb4c0d7572ab", "0021ce1b-177f-4d39-8388-ddc328da9f86", "f6658f57-ee40-4d66-8d79-5f78d155c71a", "8d7c9989-6f6e-4367-9af2-9793d11affd7" ], "pending": [], "skipped": [], "duration": 98786, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "421ab369-8c70-4c8a-8c51-751c58e7d30d", "title": "", "fullFile": "cypress/integration/p-portal/3-invoice/1-invoice-make-payment.spec.js", "file": "cypress/integration/p-portal/3-invoice/1-invoice-make-payment.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "6b2302cf-ab35-498c-98ae-e7757d499fa6", "title": "Invoice - Make Payment By Adding payment method for ACH using Stripe (PortalFlow)", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Go to Subscriptionflow and delete existing payment methods", "fullTitle": "Invoice - Make Payment By Adding payment method for ACH using Stripe (PortalFlow) Go to Subscriptionflow and delete existing payment methods", "timedOut": null, "duration": 97896, "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": "85ed0f5e-c78f-4754-b942-57fc4495f367", "parentUUID": "6b2302cf-ab35-498c-98ae-e7757d499fa6", "isHook": false, "skipped": false }, { "title": "Add payment method from Portal", "fullTitle": "Invoice - Make Payment By Adding payment method for ACH using Stripe (PortalFlow) Add payment method from Portal", "timedOut": null, "duration": 19697, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "addPaymentMethod();", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/1-invoice-make-payment.spec.js:212:12)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/1-invoice-make-payment.spec.js:168:5)", "diff": null }, "uuid": "3b0f2f81-8639-4820-8f37-7db7c31f7220", "parentUUID": "6b2302cf-ab35-498c-98ae-e7757d499fa6", "isHook": false, "skipped": false }, { "title": "Invoice - Make Payment", "fullTitle": "Invoice - Make Payment By Adding payment method for ACH using Stripe (PortalFlow) Invoice - Make Payment", "timedOut": null, "duration": 16040, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Due', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Due');\n});\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns #showInvoicePaymentModal').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#invoicePaymentModal').should('have.class', 'show');\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.lead').contains('is charged against Invoice').should('be.visible');", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/1-invoice-make-payment.spec.js:174:14)", "diff": null }, "uuid": "199ca3ea-ed04-4a5e-b4e5-17dcaa4aeebd", "parentUUID": "6b2302cf-ab35-498c-98ae-e7757d499fa6", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "85ed0f5e-c78f-4754-b942-57fc4495f367" ], "failures": [ "3b0f2f81-8639-4820-8f37-7db7c31f7220", "199ca3ea-ed04-4a5e-b4e5-17dcaa4aeebd" ], "pending": [], "skipped": [], "duration": 133633, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "bfe3c8cc-db52-4ebe-8084-fc57583d58fc", "title": "", "fullFile": "cypress/integration/p-portal/3-invoice/10-Allocate_credits_when_allocated_amount_is_equal_to_credit_note_balance_using_PortalFlow.spec.js", "file": "cypress/integration/p-portal/3-invoice/10-Allocate_credits_when_allocated_amount_is_equal_to_credit_note_balance_using_PortalFlow.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "4d644a01-754d-44ed-95e8-d30ce9cc4125", "title": "Allocate credits when allocated amount is equal to the credit note balance using PortalFlow", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Go to Customer Detail and create Credit Notes apply it from portal", "fullTitle": "Allocate credits when allocated amount is equal to the credit note balance using PortalFlow Go to Customer Detail and create Credit Notes apply it from portal", "timedOut": null, "duration": 95349, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "allocateCredits();", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `.container-fluid .card-body .table`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `.container-fluid .card-body .table`, but never found it.\n at checkVerify (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/10-Allocate_credits_when_allocated_amount_is_equal_to_credit_note_balance_using_PortalFlow.spec.js:109:6)\n at allocateCredits (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/10-Allocate_credits_when_allocated_amount_is_equal_to_credit_note_balance_using_PortalFlow.spec.js:189:3)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/10-Allocate_credits_when_allocated_amount_is_equal_to_credit_note_balance_using_PortalFlow.spec.js:104:5)", "diff": null }, "uuid": "06aa3d78-0abc-47e0-bbd4-15a510d8056c", "parentUUID": "4d644a01-754d-44ed-95e8-d30ce9cc4125", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "06aa3d78-0abc-47e0-bbd4-15a510d8056c" ], "pending": [], "skipped": [], "duration": 95349, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "e74f026d-ffeb-4890-a229-d39f80c69541", "title": "", "fullFile": "cypress/integration/p-portal/3-invoice/11-credit-notes-using-portal.spec.js", "file": "cypress/integration/p-portal/3-invoice/11-credit-notes-using-portal.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "d6e856c6-a3ba-4310-b68a-f83cd8513a99", "title": "Credit Notes using PortalFlow", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Go to Customer Detail and create Credit Notes apply it from portal", "fullTitle": "Credit Notes using PortalFlow Go to Customer Detail and create Credit Notes apply it from portal", "timedOut": null, "duration": 95459, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "allocateCredits();", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `.container-fluid .card-body .table`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `.container-fluid .card-body .table`, but never found it.\n at checkVerify (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/11-credit-notes-using-portal.spec.js:109:6)\n at allocateCredits (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/11-credit-notes-using-portal.spec.js:189:3)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/11-credit-notes-using-portal.spec.js:104:5)", "diff": null }, "uuid": "afd62d0e-f3e0-4393-b2cf-bbfda7805700", "parentUUID": "d6e856c6-a3ba-4310-b68a-f83cd8513a99", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "afd62d0e-f3e0-4393-b2cf-bbfda7805700" ], "pending": [], "skipped": [], "duration": 95459, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "25c78d33-ac31-489c-a02c-0d7a982ea572", "title": "", "fullFile": "cypress/integration/p-portal/3-invoice/2-invoice-make-payment-with-credit-card-using-stripe.spec.js", "file": "cypress/integration/p-portal/3-invoice/2-invoice-make-payment-with-credit-card-using-stripe.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "ea790290-58cf-40f9-941d-85aa1180d06a", "title": "Make Payment with Credit Card using Stripe (PortalFlow)", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Go to Subscriptionflow and delete existing payment methods", "fullTitle": "Make Payment with Credit Card using Stripe (PortalFlow) Go to Subscriptionflow and delete existing payment methods", "timedOut": null, "duration": 88660, "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": "37afa966-af98-4c8e-ab05-a36e3e9a10b8", "parentUUID": "ea790290-58cf-40f9-941d-85aa1180d06a", "isHook": false, "skipped": false }, { "title": "Add payment method from Portal", "fullTitle": "Make Payment with Credit Card using Stripe (PortalFlow) Add payment method from Portal", "timedOut": null, "duration": 19270, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "addPaymentMethod();", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/2-invoice-make-payment-with-credit-card-using-stripe.spec.js:219:12)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/2-invoice-make-payment-with-credit-card-using-stripe.spec.js:168:5)", "diff": null }, "uuid": "220f17e3-6800-4834-ba00-ae981146575e", "parentUUID": "ea790290-58cf-40f9-941d-85aa1180d06a", "isHook": false, "skipped": false }, { "title": "Invoice - Make Payment", "fullTitle": "Make Payment with Credit Card using Stripe (PortalFlow) Invoice - Make Payment", "timedOut": null, "duration": 15795, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Due', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Due');\n});\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns #showInvoicePaymentModal').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#invoicePaymentModal').should('have.class', 'show');\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.lead').contains('is charged against Invoice').should('be.visible');\ncy.get('#invoicePaymentModal a.btn.btn-primary.closeInvociePaymentPopup').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#subscription-single-header span.ml-2.badge').should('have.class', 'badge-status-paid').then(function (elm) {\n expect(elm.text()).to.eq(\"Paid\");\n});", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/2-invoice-make-payment-with-credit-card-using-stripe.spec.js:174:14)", "diff": null }, "uuid": "fa350230-2508-441f-b838-d92b59457e90", "parentUUID": "ea790290-58cf-40f9-941d-85aa1180d06a", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "37afa966-af98-4c8e-ab05-a36e3e9a10b8" ], "failures": [ "220f17e3-6800-4834-ba00-ae981146575e", "fa350230-2508-441f-b838-d92b59457e90" ], "pending": [], "skipped": [], "duration": 123725, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "8c79ffaa-680a-439a-bf88-bf2f1da13cd0", "title": "", "fullFile": "cypress/integration/p-portal/3-invoice/3-invoice-make-payment-using-unapplied-amount.spec.js", "file": "cypress/integration/p-portal/3-invoice/3-invoice-make-payment-using-unapplied-amount.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "d21e876d-a63e-4b1d-93cd-b1c59dfe3b6c", "title": "Invoice - Make Payment By unapplied amount", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Invoice - Make Payment", "fullTitle": "Invoice - Make Payment By unapplied amount Invoice - Make Payment", "timedOut": null, "duration": 15861, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Due', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Due');\n});\ncy.get('.container-fluid .row:nth-child(1) div.col-7.mt-5.text-right > div > label').then(function (elm) {\n var text = elm.text().split(' ');\n totalUnappliedAmount = parseInt(text[18].replace(/[$€,]+/g, \"\"));\n});\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container .bg-info strong').then(function (elm) {\n totalInvoiceAmount = parseInt(elm.text().replace(/[$€,]+/g, \"\"));\n});\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container').its('length').then(function () {\n setUnappliedAmount(totalInvoiceAmount);\n payInvoice(totalInvoiceAmount);\n});", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/3-invoice-make-payment-using-unapplied-amount.spec.js:106:14)", "diff": null }, "uuid": "8da1f8a9-6f40-4307-b8ba-4beb78f4edc7", "parentUUID": "d21e876d-a63e-4b1d-93cd-b1c59dfe3b6c", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "8da1f8a9-6f40-4307-b8ba-4beb78f4edc7" ], "pending": [], "skipped": [], "duration": 15861, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "5f190322-c998-406c-9e35-02d8eddca5af", "title": "", "fullFile": "cypress/integration/p-portal/3-invoice/4-invoice-make-payment-with-credit-card-using-authorize.net.spec.js", "file": "cypress/integration/p-portal/3-invoice/4-invoice-make-payment-with-credit-card-using-authorize.net.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "1e650dd0-2426-492f-a859-32b6c09d5350", "title": "Make Payment with credit card using AuthorizeNet (PortalFlow)", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Go to Subscriptionflow and delete existing payment methods", "fullTitle": "Make Payment with credit card using AuthorizeNet (PortalFlow) Go to Subscriptionflow and delete existing payment methods", "timedOut": null, "duration": 87590, "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('Authorize.NET').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('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": "66024d95-0941-4d8c-9fde-c7f872badc9b", "parentUUID": "1e650dd0-2426-492f-a859-32b6c09d5350", "isHook": false, "skipped": false }, { "title": "Add payment method from Portal", "fullTitle": "Make Payment with credit card using AuthorizeNet (PortalFlow) Add payment method from Portal", "timedOut": null, "duration": 20383, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "addPaymentMethod();", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/4-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:219:12)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/4-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:168:5)", "diff": null }, "uuid": "098cfaf7-292a-4b01-9615-830091811bf3", "parentUUID": "1e650dd0-2426-492f-a859-32b6c09d5350", "isHook": false, "skipped": false }, { "title": "Invoice - Make Payment", "fullTitle": "Make Payment with credit card using AuthorizeNet (PortalFlow) Invoice - Make Payment", "timedOut": null, "duration": 16263, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Due', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Due');\n});\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns #showInvoicePaymentModal').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#invoicePaymentModal').should('have.class', 'show');\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.lead').contains('is charged against Invoice').should('be.visible');\ncy.get('#invoicePaymentModal a.btn.btn-primary.closeInvociePaymentPopup').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#subscription-single-header span.ml-2.badge').should('have.class', 'badge-status-paid').then(function (elm) {\n expect(elm.text()).to.eq(\"Paid\");\n});", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/4-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:174:14)", "diff": null }, "uuid": "7813f4f2-b3e3-43e7-ad7b-985d5ab95e63", "parentUUID": "1e650dd0-2426-492f-a859-32b6c09d5350", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "66024d95-0941-4d8c-9fde-c7f872badc9b" ], "failures": [ "098cfaf7-292a-4b01-9615-830091811bf3", "7813f4f2-b3e3-43e7-ad7b-985d5ab95e63" ], "pending": [], "skipped": [], "duration": 124236, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "f169aca9-944f-408f-82d0-7c548045ae9d", "title": "", "fullFile": "cypress/integration/p-portal/3-invoice/5-invoice-make-payment-with-ACH-using-authorize.net.spec.js", "file": "cypress/integration/p-portal/3-invoice/5-invoice-make-payment-with-ACH-using-authorize.net.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "a3d03474-7ea7-49f4-a92e-6077497b8433", "title": "Make Payment with credit card using AuthorizeNet (PortalFlow)", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Go to Subscriptionflow and delete existing payment methods", "fullTitle": "Make Payment with credit card using AuthorizeNet (PortalFlow) Go to Subscriptionflow and delete existing payment methods", "timedOut": null, "duration": 88376, "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('Authorize.NET').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('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": "5da50ebf-abca-42ae-9e1e-a7282536014a", "parentUUID": "a3d03474-7ea7-49f4-a92e-6077497b8433", "isHook": false, "skipped": false }, { "title": "Add payment method from Portal", "fullTitle": "Make Payment with credit card using AuthorizeNet (PortalFlow) Add payment method from Portal", "timedOut": null, "duration": 20460, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "addPaymentMethod();", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/5-invoice-make-payment-with-ACH-using-authorize.net.spec.js:219:12)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/5-invoice-make-payment-with-ACH-using-authorize.net.spec.js:168:5)", "diff": null }, "uuid": "66bdd28e-de1f-4cf4-9329-6070cebf03e9", "parentUUID": "a3d03474-7ea7-49f4-a92e-6077497b8433", "isHook": false, "skipped": false }, { "title": "Invoice - Make Payment", "fullTitle": "Make Payment with credit card using AuthorizeNet (PortalFlow) Invoice - Make Payment", "timedOut": null, "duration": 15897, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Due', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Due');\n});\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns #showInvoicePaymentModal').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#invoicePaymentModal').should('have.class', 'show');\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.lead').contains('is charged against Invoice').should('be.visible');\ncy.get('#invoicePaymentModal a.btn.btn-primary.closeInvociePaymentPopup').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#subscription-single-header span.ml-2.badge').should('have.class', 'badge-status-paid').then(function (elm) {\n expect(elm.text()).to.eq(\"Paid\");\n});", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/5-invoice-make-payment-with-ACH-using-authorize.net.spec.js:174:14)", "diff": null }, "uuid": "03bf2dbc-e5c5-4376-accb-46051fd04083", "parentUUID": "a3d03474-7ea7-49f4-a92e-6077497b8433", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "5da50ebf-abca-42ae-9e1e-a7282536014a" ], "failures": [ "66bdd28e-de1f-4cf4-9329-6070cebf03e9", "03bf2dbc-e5c5-4376-accb-46051fd04083" ], "pending": [], "skipped": [], "duration": 124733, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "b4a6fb65-6862-47eb-859c-58fa1f3d104e", "title": "", "fullFile": "cypress/integration/p-portal/3-invoice/6-invoice-make-payment-with-paypal-express-checkout.spec.js", "file": "cypress/integration/p-portal/3-invoice/6-invoice-make-payment-with-paypal-express-checkout.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "aac45746-7ba8-4c6b-b0fc-9d3aabc10e28", "title": "Make Payment with Paypal Express Checkout (PortalFlow)", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Go to Subscriptionflow and delete existing payment methods", "fullTitle": "Make Payment with Paypal Express Checkout (PortalFlow) Go to Subscriptionflow and delete existing payment methods", "timedOut": null, "duration": 88906, "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('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": "a89f9e77-fcce-4394-9ddc-8b1b35522785", "parentUUID": "aac45746-7ba8-4c6b-b0fc-9d3aabc10e28", "isHook": false, "skipped": false }, { "title": "Add payment method from Portal", "fullTitle": "Make Payment with Paypal Express Checkout (PortalFlow) Add payment method from Portal", "timedOut": null, "duration": 23767, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "addPaymentMethod();", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/6-invoice-make-payment-with-paypal-express-checkout.spec.js:226:12)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/6-invoice-make-payment-with-paypal-express-checkout.spec.js:168:5)", "diff": null }, "uuid": "ebd578e6-5706-4a12-ac5c-842a83efade5", "parentUUID": "aac45746-7ba8-4c6b-b0fc-9d3aabc10e28", "isHook": false, "skipped": false }, { "title": "Invoice - Make Payment", "fullTitle": "Make Payment with Paypal Express Checkout (PortalFlow) Invoice - Make Payment", "timedOut": null, "duration": 15949, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Due', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Due');\n});\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns #showInvoicePaymentModal').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#invoicePaymentModal').should('have.class', 'show');\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(10000);\nif (cy.url().should('contain', 'sandbox.paypal')) {\n cy.get('#email').clear().type('sb-4749cx933486@personal.example.com');\n cy.get('#password').clear().type('%P)cL4RS');\n cy.get('#btnLogin').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#payment-submit-btn').click({\n force: true\n });\n cy.wait(20000);\n cy.get('.display-3').contains(\"Your payment request is under review. We will inform you shortly via Email!\");\n}", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/invoices'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/6-invoice-make-payment-with-paypal-express-checkout.spec.js:174:14)", "diff": null }, "uuid": "9cccbf14-91f1-4f73-856d-3dff6ddd449b", "parentUUID": "aac45746-7ba8-4c6b-b0fc-9d3aabc10e28", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "a89f9e77-fcce-4394-9ddc-8b1b35522785" ], "failures": [ "ebd578e6-5706-4a12-ac5c-842a83efade5", "9cccbf14-91f1-4f73-856d-3dff6ddd449b" ], "pending": [], "skipped": [], "duration": 128622, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "32559f1b-6bcf-496e-a5b7-99f2eff696c2", "title": "", "fullFile": "cypress/integration/p-portal/3-invoice/7-allocate-credits-using-portal.spec.js", "file": "cypress/integration/p-portal/3-invoice/7-allocate-credits-using-portal.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "463d8d06-6894-4de1-9ee1-863ac33343e0", "title": "Allocate Credits using PortalFlow", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Go to Customer Detail and create Credit Notes apply it from portal", "fullTitle": "Allocate Credits using PortalFlow Go to Customer Detail and create Credit Notes apply it from portal", "timedOut": null, "duration": 94744, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "// createOrder();\n// cy.visit(\"/portal/dashboard\")\n// cy.checkPortal()\n// cy.wait(5000)\n// cy.get('.sidebar-wrapper i.fas.fa-hand-holding-US Dollar').click({force:true});\n// cy.url().should('include','/portal/credits')\n// cy.checkPortal()\n// cy.get('.card-title').contains('All Credits')\n// cy.get('.container-fluid .card-body').then(element=>{\n// if((element.find('.lead').text()).includes('You do not have any credits.')){\n// expect(element.text()).includes('You do not have any credits.')\n// allocateCredits();\n// }\n// else{\nallocateCredits(); // }\n// })", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `.container-fluid .card-body .table`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `.container-fluid .card-body .table`, but never found it.\n at checkVerify (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/7-allocate-credits-using-portal.spec.js:124:6)\n at allocateCredits (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/7-allocate-credits-using-portal.spec.js:256:3)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/7-allocate-credits-using-portal.spec.js:118:5)", "diff": null }, "uuid": "f12252fa-69e6-4657-83a8-e4d87921db02", "parentUUID": "463d8d06-6894-4de1-9ee1-863ac33343e0", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "f12252fa-69e6-4657-83a8-e4d87921db02" ], "pending": [], "skipped": [], "duration": 94744, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "13f1bb3f-2a21-4ba7-9f28-66dd5d7a6eb2", "title": "", "fullFile": "cypress/integration/p-portal/3-invoice/8-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js", "file": "cypress/integration/p-portal/3-invoice/8-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "49b7a1be-410d-4bdd-9ab2-07cb6e9de396", "title": "Allocate credits when allocated amount is less than credit note balance using PortalFlow", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Go to Customer Detail and create Credit Notes apply it from portal", "fullTitle": "Allocate credits when allocated amount is less than credit note balance using PortalFlow Go to Customer Detail and create Credit Notes apply it from portal", "timedOut": null, "duration": 94044, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "allocateCredits();", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `.container-fluid .card-body .table`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `.container-fluid .card-body .table`, but never found it.\n at checkVerify (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/8-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js:109:6)\n at allocateCredits (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/8-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js:189:3)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/8-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js:104:5)", "diff": null }, "uuid": "b250ab44-7851-48f6-a3fc-b760c13ef2a7", "parentUUID": "49b7a1be-410d-4bdd-9ab2-07cb6e9de396", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "b250ab44-7851-48f6-a3fc-b760c13ef2a7" ], "pending": [], "skipped": [], "duration": 94044, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "9379a82c-482b-47c7-a069-c63503a32dbd", "title": "", "fullFile": "cypress/integration/p-portal/3-invoice/9-Allocate_credits_when_allocated_amount_is_greater_than_credit_note_balance_using_PortalFlow.spec.js", "file": "cypress/integration/p-portal/3-invoice/9-Allocate_credits_when_allocated_amount_is_greater_than_credit_note_balance_using_PortalFlow.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "79d8b306-6aa9-4171-987c-0741c12ad9c2", "title": "Allocate credits when allocated amount is greater than the credit note balance using PortalFlow", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Go to Customer Detail and create Credit Notes apply it from portal", "fullTitle": "Allocate credits when allocated amount is greater than the credit note balance using PortalFlow Go to Customer Detail and create Credit Notes apply it from portal", "timedOut": null, "duration": 94738, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "allocateCredits();", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `.container-fluid .card-body .table`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `.container-fluid .card-body .table`, but never found it.\n at checkVerify (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/9-Allocate_credits_when_allocated_amount_is_greater_than_credit_note_balance_using_PortalFlow.spec.js:109:6)\n at allocateCredits (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/9-Allocate_credits_when_allocated_amount_is_greater_than_credit_note_balance_using_PortalFlow.spec.js:192:3)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/9-Allocate_credits_when_allocated_amount_is_greater_than_credit_note_balance_using_PortalFlow.spec.js:104:5)", "diff": null }, "uuid": "7024de46-72a5-4c21-b5a0-21d94349ce49", "parentUUID": "79d8b306-6aa9-4171-987c-0741c12ad9c2", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "7024de46-72a5-4c21-b5a0-21d94349ce49" ], "pending": [], "skipped": [], "duration": 94738, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "64297870-8512-4165-b81c-c3fcbcd5ba04", "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": "c9bee42c-7f24-429e-a0b0-de7ee364c626", "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": 88076, "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": "fc7dfba4-5d7a-4899-9415-8f5af926133f", "parentUUID": "c9bee42c-7f24-429e-a0b0-de7ee364c626", "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": 19374, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "addPaymentMethod();", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/1-add-payment-method.spec.js:202:12)\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": "cb82e160-3e0e-429c-97b9-345a0f0054b8", "parentUUID": "c9bee42c-7f24-429e-a0b0-de7ee364c626", "isHook": false, "skipped": false }, { "title": "Admin verified the payment method", "fullTitle": "Add payment method for ACH using Stripe (PortalFlow) Admin verified the payment method", "timedOut": null, "duration": 46033, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.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('#relatedList-bulk-action-PaymentMethod_Customer a.btn').contains('Verify').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#amount1-input').type('32');\ncy.get('#amount2-input').type('45');\ncy.get('#verify_button').click({\n force: true\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `#relatedList-bulk-action-PaymentMethod_Customer a.btn`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#relatedList-bulk-action-PaymentMethod_Customer a.btn`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/1-add-payment-method.spec.js:185:8)", "diff": null }, "uuid": "5ef9141c-c7e7-4f42-8b84-8cf321b8c0e0", "parentUUID": "c9bee42c-7f24-429e-a0b0-de7ee364c626", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "fc7dfba4-5d7a-4899-9415-8f5af926133f" ], "failures": [ "cb82e160-3e0e-429c-97b9-345a0f0054b8", "5ef9141c-c7e7-4f42-8b84-8cf321b8c0e0" ], "pending": [], "skipped": [], "duration": 153483, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "ed885af2-ebaf-4ea3-a9b6-ae6a5a15882f", "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": "1da08f18-a53f-409a-8f91-65f27b2b8ad7", "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": 87422, "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": "2e3daf79-8629-41fb-91ad-2953817b8beb", "parentUUID": "1da08f18-a53f-409a-8f91-65f27b2b8ad7", "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": 20280, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "addPaymentMethod();", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\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:179:12)\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": "8c4079ec-d46b-4852-be66-752a9d30ec39", "parentUUID": "1da08f18-a53f-409a-8f91-65f27b2b8ad7", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "2e3daf79-8629-41fb-91ad-2953817b8beb" ], "failures": [ "8c4079ec-d46b-4852-be66-752a9d30ec39" ], "pending": [], "skipped": [], "duration": 107702, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "0b17f631-3f84-4448-ba11-94f6d1098281", "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": "77453a65-a05b-46be-8c75-f0b1452ec19c", "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": 88364, "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": "94d97485-84e9-4402-b169-aad33e6a93d2", "parentUUID": "77453a65-a05b-46be-8c75-f0b1452ec19c", "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": 19334, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "addPaymentMethod();", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\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:179:12)\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": "1dce3128-7dc6-40c5-9fdd-1470226548b9", "parentUUID": "77453a65-a05b-46be-8c75-f0b1452ec19c", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "94d97485-84e9-4402-b169-aad33e6a93d2" ], "failures": [ "1dce3128-7dc6-40c5-9fdd-1470226548b9" ], "pending": [], "skipped": [], "duration": 107698, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "8c3b6cfc-f1d1-4827-a397-5db04030ba39", "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": "fd783d12-4841-4e24-bc58-4368845f64b9", "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": 93552, "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": "cc8fc8d3-f2d8-4ced-b57f-3ee4c43d0379", "parentUUID": "fd783d12-4841-4e24-bc58-4368845f64b9", "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": 19626, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "addPaymentMethod();", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\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:182:12)\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": "f95976bc-d6d1-4a5e-8686-fec31ce334e2", "parentUUID": "fd783d12-4841-4e24-bc58-4368845f64b9", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "cc8fc8d3-f2d8-4ced-b57f-3ee4c43d0379" ], "failures": [ "f95976bc-d6d1-4a5e-8686-fec31ce334e2" ], "pending": [], "skipped": [], "duration": 113178, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "588b5dab-6d79-449a-8eca-4cd4a322c6e3", "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": "0a4f974f-96f4-4854-8d3b-66368c98def3", "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": 95542, "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": "d0019cee-f788-4eca-afbb-4fc972f4edea", "parentUUID": "0a4f974f-96f4-4854-8d3b-66368c98def3", "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": 19427, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "addPaymentMethod();", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\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:182:12)\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": "6224edcd-b56e-4f9d-98fa-90b8cd2ff889", "parentUUID": "0a4f974f-96f4-4854-8d3b-66368c98def3", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "d0019cee-f788-4eca-afbb-4fc972f4edea" ], "failures": [ "6224edcd-b56e-4f9d-98fa-90b8cd2ff889" ], "pending": [], "skipped": [], "duration": 114969, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "99a5f68c-71c1-4e8c-8e2d-12b0b779db67", "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": "91d48a3e-a72f-4995-ade0-f2866768b151", "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": 88266, "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": "4896ee88-25c9-4b84-bb35-2b1498150ba3", "parentUUID": "91d48a3e-a72f-4995-ade0-f2866768b151", "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": 19361, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "addPaymentMethod();", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/payment-methods'\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:178:12)\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": "d45bb629-f677-4ee9-9632-942cba3225ea", "parentUUID": "91d48a3e-a72f-4995-ade0-f2866768b151", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "4896ee88-25c9-4b84-bb35-2b1498150ba3" ], "failures": [ "d45bb629-f677-4ee9-9632-942cba3225ea" ], "pending": [], "skipped": [], "duration": 107627, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "59671084-962d-46d8-be9d-52298eb8f0dd", "title": "", "fullFile": "cypress/integration/p-portal/5-profile/1-profile-update.spec.js", "file": "cypress/integration/p-portal/5-profile/1-profile-update.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "10bf6377-4556-4b6c-a32b-89bb915da3b9", "title": "Update Password", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Update Password", "fullTitle": "Update Password Update Password", "timedOut": null, "duration": 16015, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/profile\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/profile');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(1) input').clear().type('test123');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(2) input').clear().type('test123');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(3) input').clear().type('test123');\ncy.get('.col-md-4 .card .card-footer button.btn.btn-danger').click({\n force: true\n});\ncy.wait(3000);\ncy.get('.change-password-form-wrapper form .form-group:nth-child(1) p.my-2.text-danger').then(function (elm) {\n expect(elm.text()).include('Current password does not matched');\n});\ncy.get('.change-password-form-wrapper form .form-group:nth-child(2) p.my-2.text-danger').then(function (elm) {\n expect(elm.text()).include('The password must be at least 8 characters.');\n});\ncy.get('.change-password-form-wrapper form .form-group:nth-child(3) p.my-2.text-danger').then(function (elm) {\n expect(elm.text()).include('The password confirmation must be at least 8 characters.');\n});\ncy.get('.change-password-form-wrapper form .form-group:nth-child(1) input').clear().type('test1234');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(2) input').clear().type('test12312');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(3) input').clear().type('test1231');\ncy.get('.col-md-4 .card .card-footer button.btn.btn-danger').click({\n force: true\n});\ncy.wait(3000);\ncy.get('.change-password-form-wrapper form .form-group:nth-child(3) p.my-2.text-danger').then(function (elm) {\n expect(elm.text()).include('The password confirmation and password must match.');\n});\ncy.get('.change-password-form-wrapper form .form-group:nth-child(1) input').clear().type('test1234');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(2) input').clear().type('test12312');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(3) input').clear().type('test12312');\ncy.get('.col-md-4 .card .card-footer button.btn.btn-danger').click({\n force: true\n});\ncy.wait(3000);", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/profile'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/profile'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/5-profile/1-profile-update.spec.js:104:14)", "diff": null }, "uuid": "4c34caec-bc34-4ab1-a733-3709d03ebc9d", "parentUUID": "10bf6377-4556-4b6c-a32b-89bb915da3b9", "isHook": false, "skipped": false }, { "title": "I click on Logout CTA, It should log me out", "fullTitle": "Update Password I click on Logout CTA, It should log me out", "timedOut": null, "duration": 4565, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.get('.logout-btn > a').click({\n force: true\n});\ncy.visit('/portal/dashboard');\ncy.location('pathname').should('include', '/portal/login');", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `.logout-btn > a`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `.logout-btn > a`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/5-profile/1-profile-update.spec.js:140:8)", "diff": null }, "uuid": "2025f790-3287-4a54-b1f7-346abd7fdc4e", "parentUUID": "10bf6377-4556-4b6c-a32b-89bb915da3b9", "isHook": false, "skipped": false }, { "title": " I enter <Users Email> and <Password> and I hit 'Sign in' CTA", "fullTitle": "Update Password I enter <Users Email> and <Password> and I hit 'Sign in' CTA", "timedOut": null, "duration": 9229, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit('/portal/login');\ncy.loginPortal('andybary@mail.com', 'test12312');", "err": {}, "uuid": "747f3c8d-3d0f-4e93-9475-630381005e75", "parentUUID": "10bf6377-4556-4b6c-a32b-89bb915da3b9", "isHook": false, "skipped": false }, { "title": "Again Update Password", "fullTitle": "Update Password Again Update Password", "timedOut": null, "duration": 15815, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/profile\");\ncy.loginPortal('andybary@mail.com', 'test12312');\ncy.wait(3000);\ncy.url().should('include', '/portal/profile');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(1) input').clear().type('test12312');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(2) input').clear().type('test1234');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(3) input').clear().type('test1234');\ncy.get('.col-md-4 .card .card-footer button.btn.btn-danger').click({\n force: true\n});\ncy.wait(3000);", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/profile'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/profile'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/5-profile/1-profile-update.spec.js:154:14)", "diff": null }, "uuid": "df83eced-b558-450e-9f29-e288f2ece4cc", "parentUUID": "10bf6377-4556-4b6c-a32b-89bb915da3b9", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "747f3c8d-3d0f-4e93-9475-630381005e75" ], "failures": [ "4c34caec-bc34-4ab1-a733-3709d03ebc9d", "2025f790-3287-4a54-b1f7-346abd7fdc4e", "df83eced-b558-450e-9f29-e288f2ece4cc" ], "pending": [], "skipped": [], "duration": 45624, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "db94377f-0050-4977-93b4-35a3378be6f9", "title": "", "fullFile": "cypress/integration/p-portal/5-profile/2-edit-profile.spec.js", "file": "cypress/integration/p-portal/5-profile/2-edit-profile.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "b9db9822-150c-4d67-9bc0-417f3301614f", "title": "Update Password", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Update Password", "fullTitle": "Update Password Update Password", "timedOut": null, "duration": 15949, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/portal/profile\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/profile');\ncy.get('#pfCustomerProfile_BasicInformation').contains('Basic Information').should('exist');\ncy.get('#pfCustomerProfile_BillingAddressInformation').contains('Billing Address').should('exist');\ncy.get('#pfCustomerProfile_ShippingAddressInformation').contains('Shipping Address').should('exist');\ncy.get('#pfCustomerProfile_BasicInformation .row:nth-child(3) .col-md-6:nth-child(1) input').clear().type('+12345678');\ncy.get('#pfCustomerProfile_BasicInformation .row:nth-child(3) .col-md-6:nth-child(2) input').clear().type('7777');\ncy.get('#select2-cust-profile-billing-country-el-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-cust-profile-billing-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-cust-profile-billing-state-el-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.select2-search__field').type('New York');\ncy.wait(7000);\ncy.get('#select2-cust-profile-billing-state-el-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-cust-profile-billing-city-el-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.select2-search__field').type('Adams');\ncy.wait(7000);\ncy.get('#select2-cust-profile-billing-city-el-results li').contains('Adams').click({\n force: true\n});\ncy.get('#pfCustomerProfile_BillingAddressInformation .row:nth-child(4) .col-md-6:nth-child(1) input').clear().type('address 1');\ncy.get('#pfCustomerProfile_BillingAddressInformation .row:nth-child(4) .col-md-6:nth-child(2) input').clear().type('address 2');\ncy.get('#select2-cust-profile-shipping-country-el-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-cust-profile-shipping-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-cust-profile-shipping-state-el-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.select2-search__field').type('New York');\ncy.wait(7000);\ncy.get('#select2-cust-profile-shipping-state-el-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-cust-profile-shipping-city-el-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.select2-search__field').type('Adams');\ncy.wait(7000);\ncy.get('#select2-cust-profile-shipping-city-el-results li').contains('Adams').click({\n force: true\n});\ncy.get('#pfCustomerProfile_ActionBtns button.btn.btn-danger').click({\n force: true\n});\ncy.wait(3000);", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/profile'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/portal/login' to include '/portal/profile'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/5-profile/2-edit-profile.spec.js:104:14)", "diff": null }, "uuid": "b30dbbe8-9ef1-45cd-8b10-4fee6090e4bb", "parentUUID": "b9db9822-150c-4d67-9bc0-417f3301614f", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "b30dbbe8-9ef1-45cd-8b10-4fee6090e4bb" ], "pending": [], "skipped": [], "duration": 15949, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "f877d3d9-1272-4dc4-b6d9-b264415b7c7f", "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": "511cbf1b-ef80-4aba-884c-aac3a9c0a52d", "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": 7774, "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": "193e10bc-57eb-45e3-865a-36c3a42f2af1", "parentUUID": "511cbf1b-ef80-4aba-884c-aac3a9c0a52d", "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": 4532, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.get('.navbar-brand').contains('Dashboard');", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `.navbar-brand`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `.navbar-brand`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/8-logout/1-logout_spec.js:105:8)", "diff": null }, "uuid": "35701973-6edd-4cfc-a442-66a2c7c44fd4", "parentUUID": "511cbf1b-ef80-4aba-884c-aac3a9c0a52d", "isHook": false, "skipped": false }, { "title": "I should see \"Welcome <Username>\" ", "fullTitle": "Logout from Customer Portal I should see \"Welcome <Username>\" ", "timedOut": null, "duration": 4546, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.contains('Welcome');", "err": { "message": "AssertionError: Timed out retrying: Expected to find content: 'Welcome' but never did.", "estack": "AssertionError: Timed out retrying: Expected to find content: 'Welcome' but never did.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/8-logout/1-logout_spec.js:108:8)", "diff": null }, "uuid": "cfb4da73-85f9-41fd-913a-d117584b064a", "parentUUID": "511cbf1b-ef80-4aba-884c-aac3a9c0a52d", "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": 4508, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.get('.logout-btn > a').click({\n force: true\n});\ncy.visit('/portal/dashboard');\ncy.location('pathname').should('include', '/portal/login');", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `.logout-btn > a`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `.logout-btn > a`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/8-logout/1-logout_spec.js:111:8)", "diff": null }, "uuid": "cd578f1d-b81f-4da4-bc17-bd1266a7ae07", "parentUUID": "511cbf1b-ef80-4aba-884c-aac3a9c0a52d", "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": 55, "state": "passed", "speed": "medium", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.location('pathname').should('not.include', 'dashboard');", "err": {}, "uuid": "9be406d8-9dc1-4c7f-b0b7-4e4a47412505", "parentUUID": "511cbf1b-ef80-4aba-884c-aac3a9c0a52d", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "193e10bc-57eb-45e3-865a-36c3a42f2af1", "9be406d8-9dc1-4c7f-b0b7-4e4a47412505" ], "failures": [ "35701973-6edd-4cfc-a442-66a2c7c44fd4", "cfb4da73-85f9-41fd-913a-d117584b064a", "cd578f1d-b81f-4da4-bc17-bd1266a7ae07" ], "pending": [], "skipped": [], "duration": 21415, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "2e598c82-78b7-42bc-ab89-796dbf68d5f2", "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": "f62db8e9-176e-42bb-815d-502211427a3a", "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": 11608, "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": "197e0a61-11fc-4fed-92f9-f6a6335603fb", "parentUUID": "f62db8e9-176e-42bb-815d-502211427a3a", "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": 85, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.title().should('include', 'SubscriptionFlow - Dashboard');", "err": {}, "uuid": "9f2d8c6c-7503-4c34-adcf-9eb797b1f216", "parentUUID": "f62db8e9-176e-42bb-815d-502211427a3a", "isHook": false, "skipped": false }, { "title": "I should see \"Welcome <Username>\" ", "fullTitle": "Login to the site I should see \"Welcome <Username>\" ", "timedOut": null, "duration": 730, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.contains('Welcome');", "err": {}, "uuid": "f55e5ce2-849f-4428-b9c8-585c2698917c", "parentUUID": "f62db8e9-176e-42bb-815d-502211427a3a", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "197e0a61-11fc-4fed-92f9-f6a6335603fb", "9f2d8c6c-7503-4c34-adcf-9eb797b1f216", "f55e5ce2-849f-4428-b9c8-585c2698917c" ], "failures": [], "pending": [], "skipped": [], "duration": 12423, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "6bb1c9c1-5498-4766-8b99-ac6170bdb88c", "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": "fb011707-0622-4a0b-b74d-66d5027258be", "title": "Dashboard View", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "I observe the Dashboard", "fullTitle": "Dashboard View I observe the Dashboard", "timedOut": null, "duration": 12205, "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": "dd57ad9d-a187-4970-b3f8-5de17818ce3a", "parentUUID": "fb011707-0622-4a0b-b74d-66d5027258be", "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": 87, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.get('.main-navbar').should('be.visible');", "err": {}, "uuid": "7d05aaba-29c1-4086-ad7c-e15a0cad23b1", "parentUUID": "fb011707-0622-4a0b-b74d-66d5027258be", "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": 64, "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": "cab7738f-7d6b-4953-8ae1-32b1e21b04b3", "parentUUID": "fb011707-0622-4a0b-b74d-66d5027258be", "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": 43, "state": "passed", "speed": "medium", "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": "f850ab7d-57aa-43b2-89bd-509239d65630", "parentUUID": "fb011707-0622-4a0b-b74d-66d5027258be", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "dd57ad9d-a187-4970-b3f8-5de17818ce3a", "7d05aaba-29c1-4086-ad7c-e15a0cad23b1", "cab7738f-7d6b-4953-8ae1-32b1e21b04b3", "f850ab7d-57aa-43b2-89bd-509239d65630" ], "failures": [], "pending": [], "skipped": [], "duration": 12399, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "21315fbb-d121-4f48-a100-773df1568bf3", "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": "1f045b46-c1ed-4c35-8598-f2e08850202d", "title": "Forgot Password", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Valid Email ", "fullTitle": "Forgot Password Valid Email ", "timedOut": null, "duration": 3619, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.forgot_password('admin@subscriptionflow.com');", "err": {}, "uuid": "26dacbfd-850c-40c0-bf28-6b3c670466c8", "parentUUID": "1f045b46-c1ed-4c35-8598-f2e08850202d", "isHook": false, "skipped": false }, { "title": "Email not in record", "fullTitle": "Forgot Password Email not in record", "timedOut": null, "duration": 5650, "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": "6c86a81e-09d2-49c6-8747-ae26255999d4", "parentUUID": "1f045b46-c1ed-4c35-8598-f2e08850202d", "isHook": false, "skipped": false }, { "title": "Successfull Password Reset Link", "fullTitle": "Forgot Password Successfull Password Reset Link", "timedOut": null, "duration": 5925, "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": "89010dec-6b75-4bcc-ae9d-ddee8b864d52", "parentUUID": "1f045b46-c1ed-4c35-8598-f2e08850202d", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "26dacbfd-850c-40c0-bf28-6b3c670466c8", "6c86a81e-09d2-49c6-8747-ae26255999d4", "89010dec-6b75-4bcc-ae9d-ddee8b864d52" ], "failures": [], "pending": [], "skipped": [], "duration": 15194, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "d7aafd16-842e-434e-9f2d-123be483ad3e", "title": "", "fullFile": "cypress/integration/SF/c-contacts/01cancel_contact.spec.js", "file": "cypress/integration/SF/c-contacts/01cancel_contact.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "783283f8-5e05-4bfa-8b56-fe07e1fc5fe1", "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": 110983, "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": "2c75b522-7f1b-4bf0-98cd-cdce1625eee5", "parentUUID": "783283f8-5e05-4bfa-8b56-fe07e1fc5fe1", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "2c75b522-7f1b-4bf0-98cd-cdce1625eee5" ], "failures": [], "pending": [], "skipped": [], "duration": 110983, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "4689120a-4aa8-46e4-bc84-8500eca9b0c1", "title": "", "fullFile": "cypress/integration/SF/c-contacts/02create_contact.spec.js", "file": "cypress/integration/SF/c-contacts/02create_contact.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "af5904dd-d737-4d22-820d-e65edbc2c473", "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": 112227, "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": "9790aed5-94f6-4587-822a-049723943f28", "parentUUID": "af5904dd-d737-4d22-820d-e65edbc2c473", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "9790aed5-94f6-4587-822a-049723943f28" ], "failures": [], "pending": [], "skipped": [], "duration": 112227, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "67254b3d-8a86-4d8d-aedd-c28bc71c67c7", "title": "", "fullFile": "cypress/integration/SF/c-contacts/03contact_page.spec.js", "file": "cypress/integration/SF/c-contacts/03contact_page.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "4a28f000-6d4b-4cc9-ab88-340957958d10", "title": "Contacts page", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "When: I click on Contacts -> Contacts from the main nav", "fullTitle": "Contacts page When: I click on Contacts -> Contacts from the main nav", "timedOut": null, "duration": 30320, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"en/contacts\");\ncy.check(); // cy.get('.fa.fa-bars').should('be.visible').click({force:true}).then(()=>{\n// cy.get('#multiselect_rightAll').click({force:true}).then( () => {\n// cy.get('#nav-configuration').click({force:true})\n// })\n// })\n// cy.wait(5000)\n// cy.contains('Contacts').click({force:true})\ncy.url().should('include', '/contacts');\ncy.wait(10000);\ncy.get('[data-title=\" New Contact\"]').should('be.visible');\ncy.get('.btn.mob-btn-import.btn-import.hvr-bounce-to-bottom.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').should('be.visible');\n cy.contains('Import').should('be.visible');\n cy.contains('Export').should('be.visible');\n});\ncy.get('.dataTables_scrollHeadInner .check-all-records').click({\n force: true\n}).then(function () {\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('.collapse-view .fa-chevron-right').click({\n force: true\n});\ncy.wait(3000);\ncy.get('.dropbtn.btn-import').contains('All').click({\n force: true\n}).then(function () {\n cy.contains('Create View').should('be.visible');\n});", "err": {}, "uuid": "302ae978-7611-4092-8be7-d4d719ab2196", "parentUUID": "4a28f000-6d4b-4cc9-ab88-340957958d10", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "302ae978-7611-4092-8be7-d4d719ab2196" ], "failures": [], "pending": [], "skipped": [], "duration": 30320, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "2f27baf0-ae12-423d-89ac-3eac51b3e53c", "title": "", "fullFile": "cypress/integration/SF/c-contacts/04search_contacts.spec.js", "file": "cypress/integration/SF/c-contacts/04search_contacts.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "5d18dab4-72ff-4032-8d02-81f06ca9077d", "title": "Search contacts", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "When: I enter 3 characters of contacts name in Search Field", "fullTitle": "Search contacts When: I enter 3 characters of contacts name in Search Field", "timedOut": null, "duration": 32272, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\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});", "err": {}, "uuid": "7a261ce4-218e-4b22-b1df-bf055c83848f", "parentUUID": "5d18dab4-72ff-4032-8d02-81f06ca9077d", "isHook": false, "skipped": false }, { "title": "When: I enter first name of contacts name in Search Field", "fullTitle": "Search contacts When: I enter first name of contacts name in Search Field", "timedOut": null, "duration": 26216, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('input[type=\"search\"]').clear().type('Farhan', {\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() == \"First 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('Farhan');\n });\n }\n });\n } else {\n m = m + 1;\n }\n });\n});", "err": {}, "uuid": "cb796a6f-dff6-4738-ac28-144bbbcd3937", "parentUUID": "5d18dab4-72ff-4032-8d02-81f06ca9077d", "isHook": false, "skipped": false }, { "title": "When: I enter last name of contacts name in Search Field", "fullTitle": "Search contacts When: I enter last name of contacts name in Search Field", "timedOut": null, "duration": 31733, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('input[type=\"search\"]').clear().type('Jaffar', { force: true }).then(() => {\ncy.get('input[type=\"search\"]').clear();\ncy.get('input[type=\"search\"]').type('Jaffar', {\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() == \"Last 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('Jaffar');\n });\n }\n });\n } else {\n m = m + 1;\n }\n });\n});", "err": {}, "uuid": "b2586233-8def-44ca-8a84-f895016dd392", "parentUUID": "5d18dab4-72ff-4032-8d02-81f06ca9077d", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "7a261ce4-218e-4b22-b1df-bf055c83848f", "cb796a6f-dff6-4738-ac28-144bbbcd3937", "b2586233-8def-44ca-8a84-f895016dd392" ], "failures": [], "pending": [], "skipped": [], "duration": 90221, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "65b4e24c-0ae8-4de7-bbc8-4efa55acaca8", "title": "", "fullFile": "cypress/integration/SF/c-contacts/05delete_contacts.spec.js", "file": "cypress/integration/SF/c-contacts/05delete_contacts.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "620d4651-c983-469a-85fc-2ef838492373", "title": "Delete a contact", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Should delete contacts", "fullTitle": "Delete a contact Should delete contacts", "timedOut": null, "duration": 86618, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\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 ($count) {\n for (var i = 0; i < 6; i++) {\n cy.get('tbody tr td input').eq(i).click({\n force: true\n });\n }\n cy.contains('Actions').click({\n force: true\n });\n cy.contains('Delete').click({\n force: true\n });\n cy.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(30000);\n });\n cy.get('#list-table_info').invoke('text').should('not.eq', $count.text());\n});", "err": {}, "uuid": "702ad307-dd10-4af8-bbbc-a7aadb787f40", "parentUUID": "620d4651-c983-469a-85fc-2ef838492373", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "702ad307-dd10-4af8-bbbc-a7aadb787f40" ], "failures": [], "pending": [], "skipped": [], "duration": 86618, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "fe06318c-83fc-452f-b8c0-e602d0a895e9", "title": "", "fullFile": "cypress/integration/SF/c-contacts/06clear_selection.spec.js", "file": "cypress/integration/SF/c-contacts/06clear_selection.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "84a1857d-449a-4753-b345-4c119e52f000", "title": "Clear all Selections", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Unselect all selected entries", "fullTitle": "Clear all Selections Unselect all selected entries", "timedOut": null, "duration": 23192, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit('/en/contacts');\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": "6c39a7ec-66be-4be1-a8d7-2d2cfca26d4c", "parentUUID": "84a1857d-449a-4753-b345-4c119e52f000", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "6c39a7ec-66be-4be1-a8d7-2d2cfca26d4c" ], "failures": [], "pending": [], "skipped": [], "duration": 23192, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "417ddbca-293f-40f1-b909-b3b28a2ba1c2", "title": "", "fullFile": "cypress/integration/SF/c-contacts/07filter_by_salutation.spec.js", "file": "cypress/integration/SF/c-contacts/07filter_by_salutation.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "c9a4c594-b9d7-4c52-9e8e-8f3860d34cb2", "title": "Filter contacts by salutation", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by salutation Filters contacts based on given condition", "timedOut": null, "duration": 114226, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#salutation').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Salutation\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Salutation\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[salutation]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get('#select2-salutation-input-container').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#select2-salutation-input-results li').contains('Mr.').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var normalizetext = normalizeText(elements.text());\n expect(normalizetext).to.eq('mr.');\n });\n cy.get('.filerSelect [name=\"filter_condition[salutation]\"]').select(\"isn't\", {\n force: true\n });\n cy.get('#select2-salutation-input-container').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#select2-salutation-input-results li').contains('Mr.').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var normalizetext = normalizeText(elements.text());\n expect(normalizetext).to.not.eq('mr.');\n });\n cy.get('.filerSelect [name=\"filter_condition[salutation]\"]').select('contains', {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#select2-salutation-input-results li').contains('Mr.').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var normalizetext = normalizeText(elements.text());\n expect(normalizetext).to.include('mr.');\n });\n cy.get('.filerSelect [name=\"filter_condition[salutation]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#select2-salutation-input-results li').contains('Mr.').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var normalizetext = normalizeText(elements.text());\n expect(normalizetext).to.not.include('mr.');\n });\n cy.get('.filerSelect [name=\"filter_condition[salutation]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.eq('');\n });\n cy.get('.filerSelect [name=\"filter_condition[salutation]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(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": "50b3e039-0d0d-4176-bff7-b9681a9a78f8", "parentUUID": "c9a4c594-b9d7-4c52-9e8e-8f3860d34cb2", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "50b3e039-0d0d-4176-bff7-b9681a9a78f8" ], "failures": [], "pending": [], "skipped": [], "duration": 114226, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "7beefcee-f654-4b18-87b8-4358d0a37834", "title": "", "fullFile": "cypress/integration/SF/c-contacts/08filter_by_customer.spec.js", "file": "cypress/integration/SF/c-contacts/08filter_by_customer.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "71720a62-1d36-492c-88a8-0c1d9085e138", "title": "Filter contacts by customer", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by customer Filters contacts based on given condition", "timedOut": null, "duration": 113896, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#customer_id').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(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\") {\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\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[customer_id]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#select2-customer_id-input-results li').contains('Ina Byers Roary Gallagher').click({\n 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 normalizetext = normalizeText(elements.text());\n expect(normalizetext).to.eq('inabyersroarygallagher');\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_id]\"]').select(\"isn't\", {\n force: true\n });\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#select2-customer_id-input-results li').contains('Ina Byers Roary Gallagher').click({\n 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 normalizetext = normalizeText(elements.text());\n expect(normalizetext).to.not.eq('inabyersroarygallagher');\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_id]\"]').select('contains', {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#select2-customer_id-input-results li').contains('Ina Byers Roary Gallagher').click({\n 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 normalizetext = normalizeText(elements.text());\n expect(normalizetext).to.include('inabyersroarygallagher');\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_id]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#select2-customer_id-input-results li').contains('Ina Byers Roary Gallagher').click({\n 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 normalizetext = normalizeText(elements.text());\n expect(normalizetext).to.not.include('inabyersroarygallagher');\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_id]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.eq('');\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_id]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(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": "6cac9e22-b549-409d-8324-f48592909dea", "parentUUID": "71720a62-1d36-492c-88a8-0c1d9085e138", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "6cac9e22-b549-409d-8324-f48592909dea" ], "failures": [], "pending": [], "skipped": [], "duration": 113896, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "d5cd51e0-2b99-44af-a752-cee9145b3945", "title": "", "fullFile": "cypress/integration/SF/c-contacts/09filter_by_first_name.spec.js", "file": "cypress/integration/SF/c-contacts/09filter_by_first_name.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "900255fe-6d4b-42f7-a012-fb457fdfe711", "title": "Filter contacts by first name", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by first name Filters contacts based on given condition", "timedOut": null, "duration": 51355, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(3000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(3000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == 'First Name') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"First Name\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Abbot', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n }); // cy.wait(30000)\n cy.wait(3000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.eq('Abbot');\n });\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Abbot', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(3000); // cy.wait(30000)\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('Abbot');\n });\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('Ab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(3000); // cy.wait(30000)\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('ab'); //expect(elements.text().toLowerCase()).to.include('Ab')\n });\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('Ab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(3000); // cy.wait(30000)\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('ab'); // expect(elements.text()).to.not.include('Ab')\n });\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('Ab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(3000); // cy.wait(30000)\n cy.get(j).each(function (elements) {\n var reg = /^ab/;\n var normalizedelement = normalizeText(elements.text()); //expect(elements.text()).to.match(reg)\n expect(normalizedelement).to.match(reg);\n });\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('ot', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(3000); // cy.wait(30000)\n cy.get(j).each(function (elements) {\n var reg = /ot$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg); // expect(elements.text()).to.match(reg)\n });\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(3000); // 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[first_name]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(5000); // cy.wait(50000)\n cy.get('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.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": {}, "uuid": "d5cb729b-f9d7-4408-a8eb-d4d8930fbd5f", "parentUUID": "900255fe-6d4b-42f7-a012-fb457fdfe711", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "d5cb729b-f9d7-4408-a8eb-d4d8930fbd5f" ], "failures": [], "pending": [], "skipped": [], "duration": 51355, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "48d3f57a-dc22-476f-8b9b-1a013ce0b8a0", "title": "", "fullFile": "cypress/integration/SF/c-contacts/10filter_by_last_name.spec.js", "file": "cypress/integration/SF/c-contacts/10filter_by_last_name.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "b53eaf8c-0aef-4efa-af69-a8fd6d0c29e2", "title": "Filter contacts by last name", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by last name Filters contacts based on given condition", "timedOut": null, "duration": 25232, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(3000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(3000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == 'Last Name') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Last Name\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Mills', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n }); // cy.wait(30000)\n cy.wait(3000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.eq('Mills');\n });\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Mills', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(3000); // cy.wait(30000)\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('Mills');\n });\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('Mi', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(3000); // cy.wait(30000)\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('mi'); //expect(elements.text().toLowerCase()).to.include('Ab')\n });\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('Mi', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(3000); // cy.wait(30000)\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('mi'); // expect(elements.text()).to.not.include('Ab')\n });\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('Mi', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(3000); // cy.wait(30000)\n cy.get(j).each(function (elements) {\n var reg = /^mi/;\n var normalizedelement = normalizeText(elements.text()); //expect(elements.text()).to.match(reg)\n expect(normalizedelement).to.match(reg);\n });\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('ls', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(3000); // cy.wait(30000)\n cy.get(j).each(function (elements) {\n var reg = /ls$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg); // expect(elements.text()).to.match(reg)\n });\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(3000); // 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[last_name]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(5000); // cy.wait(50000)\n cy.get('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.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `[data-sfuniqueid = dataTable__table-td-4]`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `[data-sfuniqueid = dataTable__table-td-4]`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/c-contacts/10filter_by_last_name.spec.js:139:16)", "diff": null }, "uuid": "0d9616d6-ac76-4b79-9708-34d8c4ad9b26", "parentUUID": "b53eaf8c-0aef-4efa-af69-a8fd6d0c29e2", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "0d9616d6-ac76-4b79-9708-34d8c4ad9b26" ], "pending": [], "skipped": [], "duration": 25232, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "15122075-9025-46e4-856e-86e10cdb05ee", "title": "", "fullFile": "cypress/integration/SF/c-contacts/11filter_by_workphone.spec.js", "file": "cypress/integration/SF/c-contacts/11filter_by_workphone.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "bd6c6703-0b25-49e9-8434-e1af9496342c", "title": "Filter contacts by work phone", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by work phone Filters contacts based on given condition", "timedOut": null, "duration": 51121, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#work_phone').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == 'Work Phone') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == 'Work Phone') {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('888.315.7168', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (element) {\n expect(element.text()).to.eq(' \\n 888.315.7168\\n ');\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"').should('be.visible').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('888.315.7168', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.eq(' \\n 888.315.7168\\n ');\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"').should('be.visible').select(\"contains\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('8');\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('7', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.include('7');\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('88', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /^ \\n 88/;\n expect(elements.text()).to.match(reg);\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /8\\n $/;\n expect(elements.text()).to.match(reg);\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.eq(' \\n \\n ');\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq(' \\n \\n ');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": { "message": "AssertionError: Timed out retrying: 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/c-contacts/11filter_by_workphone.spec.js:154:16)", "diff": null }, "uuid": "65c82558-3da5-4d2d-bdd3-478c02c302e6", "parentUUID": "bd6c6703-0b25-49e9-8434-e1af9496342c", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "65c82558-3da5-4d2d-bdd3-478c02c302e6" ], "pending": [], "skipped": [], "duration": 51121, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "fd0b7382-7c62-4c99-8a6d-f9b206d7c06d", "title": "", "fullFile": "cypress/integration/SF/c-contacts/12filter_by_personal_phone.spec.js", "file": "cypress/integration/SF/c-contacts/12filter_by_personal_phone.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "e22523a2-f6d4-4e57-8843-78446eadfa8a", "title": "Filter contacts by personal phone", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by personal phone Filters contacts based on given condition", "timedOut": null, "duration": 50863, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#personal_phone').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == 'Personal Phone') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == 'Personal Phone') {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('888.269.6814', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (element) {\n expect(element.text()).to.eq(' \\n 888.269.6814\\n ');\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"').should('be.visible').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('888.269.6814', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.eq(' \\n 888.269.6814\\n ');\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"').should('be.visible').select(\"contains\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('8');\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('7', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.include('7');\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('88', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /^ \\n 88/;\n expect(elements.text()).to.match(reg);\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /8\\n $/;\n expect(elements.text()).to.match(reg);\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.eq(' \\n \\n ');\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq(' \\n \\n ');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `[data-sfuniqueid = dataTable__table-td-10]`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `[data-sfuniqueid = dataTable__table-td-10]`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/c-contacts/12filter_by_personal_phone.spec.js:154:16)", "diff": null }, "uuid": "58806da0-86f2-489d-aad8-3cf828799444", "parentUUID": "e22523a2-f6d4-4e57-8843-78446eadfa8a", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "58806da0-86f2-489d-aad8-3cf828799444" ], "pending": [], "skipped": [], "duration": 50863, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "135aef48-afc2-423f-8cf6-5795ab1e549f", "title": "", "fullFile": "cypress/integration/SF/c-contacts/13filter_by_email.spec.js", "file": "cypress/integration/SF/c-contacts/13filter_by_email.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "ff191efd-6f39-482a-a954-a4c449fd4d05", "title": "Filter contacts by email", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by email Filters contacts based on given condition", "timedOut": null, "duration": 31199, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(3000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#email').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(3000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(3000);\nvar y,\n x = 0;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == 'Email') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 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('kamranakram003@gmail.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(3000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.eq('kamranakram003@gmail.com');\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').should('be.visible').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('kamranakram003@gmail.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('kamranakram003@gmail.com');\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').should('be.visible').select(\"contains\", {\n force: true\n });\n cy.get(y).type('@gmail.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('@gmail.com');\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('@gmail.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('@gmail.com');\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('kam', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(30000);\n cy.get(j).each(function (elements) {\n var reg = /^kam/;\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').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": { "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/c-contacts/13filter_by_email.spec.js:155:16)", "diff": null }, "uuid": "fdb8f712-34dd-45b4-8482-28c1a8354953", "parentUUID": "ff191efd-6f39-482a-a954-a4c449fd4d05", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "fdb8f712-34dd-45b4-8482-28c1a8354953" ], "pending": [], "skipped": [], "duration": 31199, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "04dd84c6-c750-4da0-a19b-b59afb1c9533", "title": "", "fullFile": "cypress/integration/SF/c-contacts/14filter_by_other_phone.spec.js", "file": "cypress/integration/SF/c-contacts/14filter_by_other_phone.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "79f8b322-eb2d-401a-93a8-e8028a7f98d1", "title": "Filter contacts by other phone", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by other phone Filters contacts based on given condition", "timedOut": null, "duration": 123018, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#other_phone').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == 'Other Phone') {\n y = \"#filter-condition-field_\" + x + \" input\";\n 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() == 'Other Phone') {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('03009765278', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (element) {\n expect(element.text()).to.eq(' \\n 03009765278\\n ');\n });\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"').should('be.visible').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('03009765278', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.eq(' \\n 03009765278\\n ');\n });\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"').should('be.visible').select(\"contains\", {\n force: true\n });\n cy.get(y).type('9', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('9');\n });\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('4', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.include('4');\n });\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('03', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /^ \\n 03/;\n expect(elements.text()).to.match(reg);\n });\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /8\\n $/;\n expect(elements.text()).to.match(reg);\n });\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.eq(' \\n \\n ');\n });\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(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": "9857b83f-e9d9-42eb-a4e8-b11dc7405751", "parentUUID": "79f8b322-eb2d-401a-93a8-e8028a7f98d1", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "9857b83f-e9d9-42eb-a4e8-b11dc7405751" ], "failures": [], "pending": [], "skipped": [], "duration": 123018, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "ab89a600-3260-4b3a-bb1a-57c25fef580d", "title": "", "fullFile": "cypress/integration/SF/c-contacts/15filter_by_home_phone.spec.js", "file": "cypress/integration/SF/c-contacts/15filter_by_home_phone.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "031b316a-a4dd-42d6-a94c-e7cbd0892caf", "title": "Filter contacts by other phone", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by other phone Filters contacts based on given condition", "timedOut": null, "duration": 122749, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#home_phone').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == 'Home Phone') {\n y = \"#filter-condition-field_\" + x + \" input\";\n 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() == 'Home Phone') {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('03009765278', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (element) {\n expect(element.text()).to.eq(' \\n 03009765278\\n ');\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"').should('be.visible').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('03009765278', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.eq(' \\n 03009765278\\n ');\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"').should('be.visible').select(\"contains\", {\n force: true\n });\n cy.get(y).type('9', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('9');\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('4', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.include('4');\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('03', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /^ \\n 03/;\n expect(elements.text()).to.match(reg);\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /8\\n $/;\n expect(elements.text()).to.match(reg);\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.eq(' \\n \\n ');\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(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": "9ce8c26b-14f1-421f-b6ea-f8c9cb9b0a66", "parentUUID": "031b316a-a4dd-42d6-a94c-e7cbd0892caf", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "9ce8c26b-14f1-421f-b6ea-f8c9cb9b0a66" ], "failures": [], "pending": [], "skipped": [], "duration": 122749, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "2f09f841-4769-47aa-9087-008a0999065f", "title": "", "fullFile": "cypress/integration/SF/c-contacts/16filter_by_fax.spec.js", "file": "cypress/integration/SF/c-contacts/16filter_by_fax.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "b5dbe73d-8310-4bd8-8b24-a1ec3b741516", "title": "Filter contacts by Fax", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by Fax Filters contacts based on given condition", "timedOut": null, "duration": 123355, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#fax').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == 'Fax') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == 'Fax') {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[fax]\"').select('is', {\n force: true\n });\n cy.get(y).type('03009765278', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (element) {\n expect(element.text()).to.eq(' \\n 03009765278\\n ');\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('03009765278', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.eq(' \\n 03009765278\\n ');\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"').select(\"contains\", {\n force: true\n });\n cy.get(y).type('9', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('9');\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('4', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.include('4');\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('03', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /^ \\n 03/;\n expect(elements.text()).to.match(reg);\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /8\\n $/;\n expect(elements.text()).to.match(reg);\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.eq(' \\n \\n ');\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(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": "02ea5a1a-555e-4d57-a971-120a4f90b062", "parentUUID": "b5dbe73d-8310-4bd8-8b24-a1ec3b741516", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "02ea5a1a-555e-4d57-a971-120a4f90b062" ], "failures": [], "pending": [], "skipped": [], "duration": 123355, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "25fbc8d9-aaa9-450b-a43c-daaf2301e338", "title": "", "fullFile": "cypress/integration/SF/c-contacts/17filter_by_PrimaryAddress1.spec.js", "file": "cypress/integration/SF/c-contacts/17filter_by_PrimaryAddress1.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "e5f8f84d-0d12-428d-8fd0-57b5cdeb5ae0", "title": "Filter contacts by Primary Address 1", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by Primary Address 1 Filters contacts based on given condition", "timedOut": null, "duration": 124115, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_address_1').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Primary Address 1\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Primary Address 1\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('lahore punjab 1', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('lahorepunjab1');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('lahore punjab 1', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('lahorepunjab1');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('lahore', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('lahore');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('lahore', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('lahore');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('la', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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_address_1]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('1', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /1$/;\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": {}, "uuid": "49cb9589-9222-44a3-8866-258722f905b1", "parentUUID": "e5f8f84d-0d12-428d-8fd0-57b5cdeb5ae0", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "49cb9589-9222-44a3-8866-258722f905b1" ], "failures": [], "pending": [], "skipped": [], "duration": 124115, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "cf9c9b25-0cee-40dc-9569-04739f2567cc", "title": "", "fullFile": "cypress/integration/SF/c-contacts/18filter_by_PrimaryAddress2.spec.js", "file": "cypress/integration/SF/c-contacts/18filter_by_PrimaryAddress2.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "b006359e-f3aa-4da9-9e01-10a783d4a01e", "title": "Filter contacts by Primary Address 2", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by Primary Address 2 Filters contacts based on given condition", "timedOut": null, "duration": 123263, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_address_2').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Primary Address 2\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Primary Address 2\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('lahore punjab 2', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('lahorepunjab2');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('lahore punjab 2', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('lahorepunjab2');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('lahore', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('lahore');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('lahore', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('lahore');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('la', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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_address_2]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('2', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /2$/;\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": {}, "uuid": "38a93416-7d61-46a8-833a-a564ab8d3059", "parentUUID": "b006359e-f3aa-4da9-9e01-10a783d4a01e", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "38a93416-7d61-46a8-833a-a564ab8d3059" ], "failures": [], "pending": [], "skipped": [], "duration": 123263, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "e417453e-e9e4-4dc1-b071-f5cf579449cb", "title": "", "fullFile": "cypress/integration/SF/c-contacts/19filter_by_primaryCountry.spec.js", "file": "cypress/integration/SF/c-contacts/19filter_by_primaryCountry.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "f8bded74-6d8b-4a98-826e-b2020d185f94", "title": "Filter contacts by Primary Country", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by Primary Country Filters contacts based on given condition", "timedOut": null, "duration": 123729, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_country').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Primary Country\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Primary 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 var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).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 var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('pk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('p', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('p');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('p', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('p');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('p', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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 = /^p/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('k', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /k$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).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 var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).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 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": "90ca9ea4-20b5-4221-a8f6-4b6d6cb02f58", "parentUUID": "f8bded74-6d8b-4a98-826e-b2020d185f94", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "90ca9ea4-20b5-4221-a8f6-4b6d6cb02f58" ], "failures": [], "pending": [], "skipped": [], "duration": 123729, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "625570ab-0593-4942-9df0-72461f5e1a4b", "title": "", "fullFile": "cypress/integration/SF/c-contacts/20filter_by_primaryState.spec.js", "file": "cypress/integration/SF/c-contacts/20filter_by_primaryState.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "50b18aaa-559a-4b35-95de-06a0491fa472", "title": "Filter contacts by Primary State", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by Primary State Filters contacts based on given condition", "timedOut": null, "duration": 125207, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_state').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Primary State\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Primary 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 var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).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 var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('punjab');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('pun', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('pun');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('pun', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('pun');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('pun', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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 = /^pun/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('ab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /ab$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).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 var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).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 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": "610fe691-17bb-4d8a-899c-6ad71064b30b", "parentUUID": "50b18aaa-559a-4b35-95de-06a0491fa472", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "610fe691-17bb-4d8a-899c-6ad71064b30b" ], "failures": [], "pending": [], "skipped": [], "duration": 125207, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "a4f7ebba-5981-48ff-85e9-a88717e5a554", "title": "", "fullFile": "cypress/integration/SF/c-contacts/21filter_by_primaryCity.spec.js", "file": "cypress/integration/SF/c-contacts/21filter_by_primaryCity.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "938de822-4870-49ea-a298-a9f3c417f1d2", "title": "Filter contacts by Primary City", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by Primary City Filters contacts based on given condition", "timedOut": null, "duration": 122696, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_city').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Primary City\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Primary 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('lah', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('lah');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('lah', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('lah');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('lah', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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 = /^lah/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('re', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(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": "53df07c2-3e64-479c-8d54-6c76d5da5c84", "parentUUID": "938de822-4870-49ea-a298-a9f3c417f1d2", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "53df07c2-3e64-479c-8d54-6c76d5da5c84" ], "failures": [], "pending": [], "skipped": [], "duration": 122696, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "c2b86ea8-88ce-4e47-91c7-d348b063a1d3", "title": "", "fullFile": "cypress/integration/SF/c-contacts/22filter_by_primaryPostalCode.spec.js", "file": "cypress/integration/SF/c-contacts/22filter_by_primaryPostalCode.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "04684a60-1563-4b10-8e5a-0570aa788fd4", "title": "Filter contacts by Primary Postal Code", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by Primary Postal Code Filters contacts based on given condition", "timedOut": null, "duration": 105668, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_postal_code').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Primary Postal Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Primary Postal Code\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('454545', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('454545');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('454545', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('454545');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('45', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('45');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('45', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('45');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('45', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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 = /^45/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('45', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /45$/;\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-19]`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `[data-sfuniqueid = dataTable__table-td-19]`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/c-contacts/22filter_by_primaryPostalCode.spec.js:255:16)", "diff": null }, "uuid": "74cd2020-a01e-481a-989b-3a79fe8040ca", "parentUUID": "04684a60-1563-4b10-8e5a-0570aa788fd4", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "74cd2020-a01e-481a-989b-3a79fe8040ca" ], "pending": [], "skipped": [], "duration": 105668, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "07543429-ca98-4de6-8da5-2fdf6e33a3c7", "title": "", "fullFile": "cypress/integration/SF/c-contacts/23filter_by_secondaryAddress1.spec.js", "file": "cypress/integration/SF/c-contacts/23filter_by_secondaryAddress1.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "f5e0df6a-2523-4a27-bd48-3d65e7653fcc", "title": "Filter contacts by Secondary Address 1", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by Secondary Address 1 Filters contacts based on given condition", "timedOut": null, "duration": 105913, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_address_1').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Secondary Address 1\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Secondary Address 1\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('kpk 1', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('kpk1');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('kpk 1', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('kpk1');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('kp', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('kp');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('kp', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('kp');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('k', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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 = /^k/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('1', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /1$/;\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": { "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/c-contacts/23filter_by_secondaryAddress1.spec.js:255:16)", "diff": null }, "uuid": "419867e3-3cbb-4ca5-8b90-471eb7c1514d", "parentUUID": "f5e0df6a-2523-4a27-bd48-3d65e7653fcc", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "419867e3-3cbb-4ca5-8b90-471eb7c1514d" ], "pending": [], "skipped": [], "duration": 105913, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "e9afda48-fc92-4b94-918a-5c2ed0a5e35e", "title": "", "fullFile": "cypress/integration/SF/c-contacts/24filter_by_secondaryAdress2.spec.js", "file": "cypress/integration/SF/c-contacts/24filter_by_secondaryAdress2.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "8e185153-653a-43f8-a65a-0a1e16213520", "title": "Filter contacts by Secondary Address 2", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by Secondary Address 2 Filters contacts based on given condition", "timedOut": null, "duration": 122572, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_address_2').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Secondary Address 2\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Secondary Address 2\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('kpk 2', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('kpk2');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('kpk 2', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('kpk2');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('kp', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('kp');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('kp', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('kp');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('k', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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 = /^k/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('2', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /2$/;\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": "59900655-18b9-439d-8fff-fd1bf5c882ad", "parentUUID": "8e185153-653a-43f8-a65a-0a1e16213520", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "59900655-18b9-439d-8fff-fd1bf5c882ad" ], "failures": [], "pending": [], "skipped": [], "duration": 122572, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "86f5c6c3-f4f9-413a-abe4-96f3bb4f6fde", "title": "", "fullFile": "cypress/integration/SF/c-contacts/25filter_by_secondaryCountry.spec.js", "file": "cypress/integration/SF/c-contacts/25filter_by_secondaryCountry.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "76283f95-9332-4efb-b45a-006001f9b0fc", "title": "Filter contacts by Secondary Country", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by Secondary Country Filters contacts based on given condition", "timedOut": null, "duration": 106300, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_country').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Secondary Country\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Secondary 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('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 normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.eq('pk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('pk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('pk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('p', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('p');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('p', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('p');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('p', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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 = /^p/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('k', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /k$/;\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": "AssertionError: Timed out retrying: Expected to find element: `[data-sfuniqueid = dataTable__table-td-22]`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `[data-sfuniqueid = dataTable__table-td-22]`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/c-contacts/25filter_by_secondaryCountry.spec.js:255:16)", "diff": null }, "uuid": "7774e925-975b-415e-82da-03461f46f6b7", "parentUUID": "76283f95-9332-4efb-b45a-006001f9b0fc", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "7774e925-975b-415e-82da-03461f46f6b7" ], "pending": [], "skipped": [], "duration": 106300, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "c3792748-2271-4468-80b1-5d717981ec55", "title": "", "fullFile": "cypress/integration/SF/c-contacts/26filter_by_secondaryState.spec.js", "file": "cypress/integration/SF/c-contacts/26filter_by_secondaryState.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "452bb653-19a0-4f8f-b511-1f6eccb86676", "title": "Filter contacts by Secondary State", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by Secondary State Filters contacts based on given condition", "timedOut": null, "duration": 123572, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_state').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Secondary State\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Secondary 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('New York', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('newyork');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('New York', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('newyork');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('new', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('new');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('new', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('new');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('ne', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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 = /^ne/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('rk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /rk$/;\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": {}, "uuid": "c63877ef-e9d4-4148-ad5e-919ea592e4dd", "parentUUID": "452bb653-19a0-4f8f-b511-1f6eccb86676", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "c63877ef-e9d4-4148-ad5e-919ea592e4dd" ], "failures": [], "pending": [], "skipped": [], "duration": 123572, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "dd71af12-5fd8-4deb-a919-ef6ed3f04fd5", "title": "", "fullFile": "cypress/integration/SF/c-contacts/27filter_by_secondaryCity.spec.js", "file": "cypress/integration/SF/c-contacts/27filter_by_secondaryCity.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "2014dd7c-09f4-4db1-8b3b-ad51955a2cc2", "title": "Filter contacts by Secondary City", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by Secondary City Filters contacts based on given condition", "timedOut": null, "duration": 105092, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_city').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Secondary City\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Secondary 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('Peshawar', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('peshawar');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Peshawar', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('peshawar');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('pes', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('pes');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('pes', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('pes');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('pe', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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 = /^pe/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('ar', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /ar$/;\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": "AssertionError: Timed out retrying: Expected to find element: `[data-sfuniqueid = dataTable__table-td-24]`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `[data-sfuniqueid = dataTable__table-td-24]`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/c-contacts/27filter_by_secondaryCity.spec.js:255:16)", "diff": null }, "uuid": "62140e09-87e5-426f-936e-7558026d2beb", "parentUUID": "2014dd7c-09f4-4db1-8b3b-ad51955a2cc2", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "62140e09-87e5-426f-936e-7558026d2beb" ], "pending": [], "skipped": [], "duration": 105092, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "7153400f-91ff-45b1-ad61-befc45bf1b8d", "title": "", "fullFile": "cypress/integration/SF/c-contacts/28filter_by_secondaryPostalCode.spec.js", "file": "cypress/integration/SF/c-contacts/28filter_by_secondaryPostalCode.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "d68e2f34-9387-469d-a5f1-76748bf2e7ab", "title": "Filter contacts by Secondary Postal Code", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by Secondary Postal Code Filters contacts based on given condition", "timedOut": null, "duration": 105557, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_postal_code').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Secondary Postal Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Secondary Postal Code\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('234546', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('234546');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('234546', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('234546');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('23', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('23');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('23', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('23');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('23', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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 = /^23/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('46', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /46$/;\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": "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/c-contacts/28filter_by_secondaryPostalCode.spec.js:255:16)", "diff": null }, "uuid": "63a7f84e-7e0f-4333-bc28-c301536fdc75", "parentUUID": "d68e2f34-9387-469d-a5f1-76748bf2e7ab", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "63a7f84e-7e0f-4333-bc28-c301536fdc75" ], "pending": [], "skipped": [], "duration": 105557, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "970c9351-031e-419a-804a-c84dbae9671b", "title": "", "fullFile": "cypress/integration/SF/c-contacts/29filer_by_CreatedBy.spec.js", "file": "cypress/integration/SF/c-contacts/29filer_by_CreatedBy.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "cf85213f-9d12-4b8d-87b0-f20b0ae1d405", "title": "Filter contacts by Created By", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by Created By Filters contacts based on given condition", "timedOut": null, "duration": 46547, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#created_by').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Created By\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 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('SubscriptionFlow Admin').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('subscriptionflowadmin');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_by]\"]').select(\"isn't\", {\n force: true\n });\n cy.get('#select2-created_by-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-created_by-input-results li').contains('SubscriptionFlow Admin').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('subscriptionflowadmin');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find content: 'SubscriptionFlow Admin' within the element: <ul#select2-created_by-input-results.select2-results__options> but never did.", "estack": "AssertionError: Timed out retrying: Expected to find content: 'SubscriptionFlow Admin' within the element: <ul#select2-created_by-input-results.select2-results__options> but never did.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/c-contacts/29filer_by_CreatedBy.spec.js:151:57)", "diff": null }, "uuid": "f79e5afe-5292-4585-8424-29e432c9e8cc", "parentUUID": "cf85213f-9d12-4b8d-87b0-f20b0ae1d405", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "f79e5afe-5292-4585-8424-29e432c9e8cc" ], "pending": [], "skipped": [], "duration": 46547, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "02e95a40-9d62-4d47-a8e4-13a48814e747", "title": "", "fullFile": "cypress/integration/SF/c-contacts/30filter_by_CreatedAt.spec.js", "file": "cypress/integration/SF/c-contacts/30filter_by_CreatedAt.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "22dcd859-724c-4db9-85c1-605a087ba534", "title": "Filter contacts by Created At", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by Created At Filters contacts based on given condition", "timedOut": null, "duration": 132779, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#created_at').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Created At\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 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('02/02/2021');\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('02/02/2021'); //expect(elements.text()).to.eq('02/02/2021')\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Before', {\n force: true\n });\n cy.get('input[name=\"filter_value[created_at]\"]').type('02/02/2021');\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.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('01/29/2021');\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": {}, "uuid": "623d702d-a8fd-4a02-b222-076099c177d9", "parentUUID": "22dcd859-724c-4db9-85c1-605a087ba534", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "623d702d-a8fd-4a02-b222-076099c177d9" ], "failures": [], "pending": [], "skipped": [], "duration": 132779, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "1cce7d10-7091-4345-a20c-37e660af1732", "title": "", "fullFile": "cypress/integration/SF/c-contacts/31filter_by_isPrimary.spec.js", "file": "cypress/integration/SF/c-contacts/31filter_by_isPrimary.spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "7d87f5f7-63d7-4937-8f8c-b98222236aef", "title": "Filter contacts by is Primary", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Filters contacts based on given condition", "fullTitle": "Filter contacts by is Primary Filters contacts based on given condition", "timedOut": null, "duration": 57997, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#is_primary').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Is Primary\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 0;\n var j;\n cy.get('.dataTables_scrollHead th').each(function (element) {\n if (element.text() == \"Is Primary\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] i\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[is_primary]\"]').should('exist').select('is checked', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n cy.get(elements).should('have.class', 'fa-check');\n });\n cy.get('.filerSelect [name=\"filter_condition[is_primary]\"]').select(\"is not checked\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(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": "58915123-c661-4e6d-9ad1-fb33df6521b1", "parentUUID": "7d87f5f7-63d7-4937-8f8c-b98222236aef", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "58915123-c661-4e6d-9ad1-fb33df6521b1" ], "failures": [], "pending": [], "skipped": [], "duration": 57997, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "82d2958a-9a5d-4e29-9635-fc2aa0ebaea9", "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": "48ee08ca-59cb-4a7e-a4e3-9f81bf37bfbc", "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": 16843, "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": "7fb508c6-c9fd-40ab-bdb4-259e172aca66", "parentUUID": "48ee08ca-59cb-4a7e-a4e3-9f81bf37bfbc", "isHook": false, "skipped": false }, { "title": "Fill the form and click CTA", "fullTitle": "Create product Fill the form and click CTA", "timedOut": null, "duration": 24151, "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": "67a2089a-5ea0-4f0b-aed7-1abb785b3e7c", "parentUUID": "48ee08ca-59cb-4a7e-a4e3-9f81bf37bfbc", "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": 110, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.location('pathname').should('include', 'product-detail');\ncy.get('.page-title').should('contain', 'Cyp_test_product');", "err": {}, "uuid": "1e0e96c9-3a0b-42c4-98ff-e9b1807d7c2c", "parentUUID": "48ee08ca-59cb-4a7e-a4e3-9f81bf37bfbc", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "7fb508c6-c9fd-40ab-bdb4-259e172aca66", "67a2089a-5ea0-4f0b-aed7-1abb785b3e7c", "1e0e96c9-3a0b-42c4-98ff-e9b1807d7c2c" ], "failures": [], "pending": [], "skipped": [], "duration": 41104, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "37e5004c-823c-4df9-8475-6f5b737c3a15", "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": "6ffaa74e-8620-471f-9b60-60c512f346d1", "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": 50915, "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": "470ce63c-98c0-4b6e-a40c-a55dbb73121d", "parentUUID": "6ffaa74e-8620-471f-9b60-60c512f346d1", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "470ce63c-98c0-4b6e-a40c-a55dbb73121d" ], "failures": [], "pending": [], "skipped": [], "duration": 50915, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "65c6bebe-350a-48d8-8f53-6b8d4d23cf8a", "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": "de122e2c-5fdd-4009-90d7-62c8c78cc7ae", "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": 44696, "state": "failed", "speed": null, "pass": false, "fail": true, "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": { "message": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at addPricing (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-product/03-add_plan_detail_one_time_spec.js:159:6)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-product/03-add_plan_detail_one_time_spec.js:118:9)", "diff": null }, "uuid": "31b89c55-d7be-49aa-9c0a-cee7329907d0", "parentUUID": "de122e2c-5fdd-4009-90d7-62c8c78cc7ae", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "31b89c55-d7be-49aa-9c0a-cee7329907d0" ], "pending": [], "skipped": [], "duration": 44696, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "4ac52b29-e0cd-443e-b443-9ed097d41f4f", "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": "64a73f84-74d0-4a89-a134-160ba1a95f77", "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": 46401, "state": "failed", "speed": null, "pass": false, "fail": true, "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": { "message": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at addPricing (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-product/04-add_plan_detail_recurring_spec.js:159:6)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-product/04-add_plan_detail_recurring_spec.js:118:9)", "diff": null }, "uuid": "6f424fe2-2e0e-4f62-adc5-7727f7913a5c", "parentUUID": "64a73f84-74d0-4a89-a134-160ba1a95f77", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "6f424fe2-2e0e-4f62-adc5-7727f7913a5c" ], "pending": [], "skipped": [], "duration": 46401, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "7f55dbba-4608-440f-a6ea-4b79e005a3b0", "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": "e0d49529-93ea-4a7b-af20-409074dd07ce", "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": 45751, "state": "failed", "speed": null, "pass": false, "fail": true, "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": { "message": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at addPricing (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-product/05-add_plan_detail_UOM_spec.js:159:6)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-product/05-add_plan_detail_UOM_spec.js:118:9)", "diff": null }, "uuid": "e714a371-0665-42d9-a9d3-77ce558af065", "parentUUID": "e0d49529-93ea-4a7b-af20-409074dd07ce", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "e714a371-0665-42d9-a9d3-77ce558af065" ], "pending": [], "skipped": [], "duration": 45751, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "84fb2d18-3071-4a53-a51c-f972943f4e47", "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": "e892a19d-2b81-464c-8a3e-9caa5bbbc780", "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": 131151, "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('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get('#apps_flow').click({\n force: true\n});\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('.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]\"]').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 Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});", "err": {}, "uuid": "f041f42f-851a-4921-9618-39a8194a60bd", "parentUUID": "e892a19d-2b81-464c-8a3e-9caa5bbbc780", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "f041f42f-851a-4921-9618-39a8194a60bd" ], "failures": [], "pending": [], "skipped": [], "duration": 131151, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "871fcc7e-5bb4-4691-a3e1-69e152854f26", "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": "5d7698e2-6148-4dbe-84c5-3675400ef177", "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": 110927, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get('#apps_flow').click({\n force: true\n});\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('.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 Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});", "err": { "message": "AssertionError: Timed out retrying: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<ul.mob-filter.filter-options_6.hide.>` has CSS property: `display: none`", "estack": "AssertionError: Timed out retrying: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<ul.mob-filter.filter-options_6.hide.>` has CSS property: `display: none`\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-product/07HPP_CreditCard_AuthorizeNet.spec.js:231:66)", "diff": null }, "uuid": "19a3846e-0c93-4462-9f4b-6692b0e7a536", "parentUUID": "5d7698e2-6148-4dbe-84c5-3675400ef177", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "19a3846e-0c93-4462-9f4b-6692b0e7a536" ], "pending": [], "skipped": [], "duration": 110927, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "570d73f9-4bfe-49ff-b59f-0fd219954b01", "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": "54a80ac0-1ef3-41be-b583-2413d23bd5d0", "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": 110415, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get('#apps_flow').click({\n force: true\n});\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('.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 Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});", "err": { "message": "AssertionError: Timed out retrying: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<ul.mob-filter.filter-options_6.hide.>` has CSS property: `display: none`", "estack": "AssertionError: Timed out retrying: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<ul.mob-filter.filter-options_6.hide.>` has CSS property: `display: none`\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-product/08HPP_Trial_BankTransfer_AuthorizeNet.spec.js:231:66)", "diff": null }, "uuid": "743bfce3-b10d-455b-ba2b-d7d823ef4746", "parentUUID": "54a80ac0-1ef3-41be-b583-2413d23bd5d0", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "743bfce3-b10d-455b-ba2b-d7d823ef4746" ], "pending": [], "skipped": [], "duration": 110415, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "3efc41e2-9daa-48d6-b577-b1ee22b0f89f", "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": "f272580c-0f4d-4d97-ab52-17012a7398c8", "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": 112182, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get('#apps_flow').click({\n force: true\n});\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('.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 Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});", "err": { "message": "AssertionError: Timed out retrying: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<ul.mob-filter.filter-options_6.hide.>` has CSS property: `display: none`", "estack": "AssertionError: Timed out retrying: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<ul.mob-filter.filter-options_6.hide.>` has CSS property: `display: none`\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-product/09HPP_BankTransfer_AuthorizeNet.spec.js:231:66)", "diff": null }, "uuid": "abba18e2-3f9e-46eb-99de-8a919634ce64", "parentUUID": "f272580c-0f4d-4d97-ab52-17012a7398c8", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "abba18e2-3f9e-46eb-99de-8a919634ce64" ], "pending": [], "skipped": [], "duration": 112182, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "c06effe7-864d-4e92-921a-673cfc83311e", "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": "0e076467-3bb0-4bb0-88f2-1951a929c957", "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": 110537, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get('#apps_flow').click({\n force: true\n});\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('.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 Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});", "err": { "message": "AssertionError: Timed out retrying: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<ul.mob-filter.filter-options_6.hide.>` has CSS property: `display: none`", "estack": "AssertionError: Timed out retrying: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<ul.mob-filter.filter-options_6.hide.>` has CSS property: `display: none`\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-product/12HPP_Trial_CreditCard_Stripe.spec.js:231:66)", "diff": null }, "uuid": "af98ecdf-77f1-4639-8d64-b4fcc05ec7b8", "parentUUID": "0e076467-3bb0-4bb0-88f2-1951a929c957", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "af98ecdf-77f1-4639-8d64-b4fcc05ec7b8" ], "pending": [], "skipped": [], "duration": 110537, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "bf1fe144-0cc3-4e84-a6ee-1660f4660e07", "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": "9e587a6c-0ec5-4146-9f90-49b5d30b6765", "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": 110498, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get('#apps_flow').click({\n force: true\n});\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('.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 Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});", "err": { "message": "AssertionError: Timed out retrying: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<ul.mob-filter.filter-options_6.hide.>` has CSS property: `display: none`", "estack": "AssertionError: Timed out retrying: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<ul.mob-filter.filter-options_6.hide.>` has CSS property: `display: none`\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-product/13HPP_CreditCard_Stripe.spec.js:231:66)", "diff": null }, "uuid": "6b09b896-b821-4f45-9e3a-720a54f7b68f", "parentUUID": "9e587a6c-0ec5-4146-9f90-49b5d30b6765", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "6b09b896-b821-4f45-9e3a-720a54f7b68f" ], "pending": [], "skipped": [], "duration": 110498, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "00a46986-fb5e-40d4-8b11-4a21c3e33990", "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": "a4485cf9-f46a-426c-bf08-164502531ad2", "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": 112617, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get('#apps_flow').click({\n force: true\n});\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('.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 Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});", "err": { "message": "AssertionError: Timed out retrying: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<ul.mob-filter.filter-options_6.hide.>` has CSS property: `display: none`", "estack": "AssertionError: Timed out retrying: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<ul.mob-filter.filter-options_6.hide.>` has CSS property: `display: none`\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-product/14HPP_Trial_BankTransfer_Stripe.spec.js:231:66)", "diff": null }, "uuid": "9289e094-82a0-4879-9c6d-0962a4a62f4b", "parentUUID": "a4485cf9-f46a-426c-bf08-164502531ad2", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "9289e094-82a0-4879-9c6d-0962a4a62f4b" ], "pending": [], "skipped": [], "duration": 112617, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "64377d57-ec0c-4139-a296-38dc4407ed49", "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": "a46770df-12ba-4e0e-a7e8-ccde83f6148c", "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": 110165, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get('#apps_flow').click({\n force: true\n});\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('.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 Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});", "err": { "message": "AssertionError: Timed out retrying: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<ul.mob-filter.filter-options_6.hide.>` has CSS property: `display: none`", "estack": "AssertionError: Timed out retrying: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<ul.mob-filter.filter-options_6.hide.>` has CSS property: `display: none`\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-product/15HPP_BankTransfer_Stripe.spec.js:231:66)", "diff": null }, "uuid": "4657e178-da1e-4270-8cf4-3e5a5fdb69b8", "parentUUID": "a46770df-12ba-4e0e-a7e8-ccde83f6148c", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "4657e178-da1e-4270-8cf4-3e5a5fdb69b8" ], "pending": [], "skipped": [], "duration": 110165, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "a84a136d-9c12-478b-a86f-724f1c1de0f2", "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": "79d50883-a791-42dd-9bc1-011f47470682", "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": 110854, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get('#apps_flow').click({\n force: true\n});\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('.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 Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});", "err": { "message": "AssertionError: Timed out retrying: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<ul.mob-filter.filter-options_6.hide.>` has CSS property: `display: none`", "estack": "AssertionError: Timed out retrying: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<ul.mob-filter.filter-options_6.hide.>` has CSS property: `display: none`\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-product/18HPP_Trial_PayPalExpressCheckout.spec.js:231:66)", "diff": null }, "uuid": "b3f17202-92ac-4a24-842f-b522c5746a4a", "parentUUID": "79d50883-a791-42dd-9bc1-011f47470682", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "b3f17202-92ac-4a24-842f-b522c5746a4a" ], "pending": [], "skipped": [], "duration": 110854, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "1e22787d-5616-4d52-be9e-d157cf14d1ba", "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": "38d2cfd4-ab40-4bf1-9a0e-ca574dbf0eb6", "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": 110606, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get('#apps_flow').click({\n force: true\n});\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('.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 Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});", "err": { "message": "AssertionError: Timed out retrying: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<ul.mob-filter.filter-options_6.hide.>` has CSS property: `display: none`", "estack": "AssertionError: Timed out retrying: expected '<select.form-control.filter-condition-operator.filter-conditions>' to be 'visible'\n\nThis element `<select.form-control.filter-condition-operator.filter-conditions>` is not visible because its parent `<ul.mob-filter.filter-options_6.hide.>` has CSS property: `display: none`\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-product/19HPP_PayPalExpressCheckout.spec.js:231:66)", "diff": null }, "uuid": "d20019a0-d561-4d90-8faa-fca6d093d7e5", "parentUUID": "38d2cfd4-ab40-4bf1-9a0e-ca574dbf0eb6", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "d20019a0-d561-4d90-8faa-fca6d093d7e5" ], "pending": [], "skipped": [], "duration": 110606, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "83f7696a-fc1c-4f4f-bc57-e09254e0f6b3", "title": "", "fullFile": "cypress/integration/SF/e-plan/cancel-plan.js", "file": "cypress/integration/SF/e-plan/cancel-plan.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "119d9382-309f-43ad-84a7-e171054bca8e", "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": 22294, "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": "13f65fde-c3d6-4826-8f07-2863338c0818", "parentUUID": "119d9382-309f-43ad-84a7-e171054bca8e", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "13f65fde-c3d6-4826-8f07-2863338c0818" ], "failures": [], "pending": [], "skipped": [], "duration": 22294, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "35015fad-5479-4cdd-83bf-2e449909847c", "title": "", "fullFile": "cypress/integration/SF/e-plan/create-plan.js", "file": "cypress/integration/SF/e-plan/create-plan.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "54cd2f66-e7c4-4fe3-862d-3e43aefd9d5c", "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": 23351, "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": "4ed1f0e9-cbf7-406c-bab4-f3502265a9ff", "parentUUID": "54cd2f66-e7c4-4fe3-862d-3e43aefd9d5c", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "4ed1f0e9-cbf7-406c-bab4-f3502265a9ff" ], "failures": [], "pending": [], "skipped": [], "duration": 23351, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "a51287d8-7148-4e15-b245-7a860ebffe6f", "title": "", "fullFile": "cypress/integration/SF/f-coupon/cancel-coupon.js", "file": "cypress/integration/SF/f-coupon/cancel-coupon.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "236011a2-1fa7-4007-a2e9-8a74640e999a", "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": 51522, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('.nav-link').contains('More').click();\ncy.get('.dropdown-menu a').contains('Coupon').click({\n force: true\n});\ncy.wait(8000);\ncy.get('span').contains('Create Coupon').click({\n force: true\n});\ncy.url().should('include', '/coupons/create');\ncy.get('#name-input').type('Noman', {\n force: true\n});\ncy.get('#code-input').type('A2%T-IY', {\n force: true\n});\ncy.get('#coupon_add_form textarea').type('Adding Coupon');\ncy.get('#availability-input').select('Regular');\ncy.get('#discount_type-input').select('Percentage');\ncy.get('#discount_value-input').type('50');\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.wait(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": {}, "uuid": "25b403ec-3569-4dfb-b5af-bb5728bb3bb5", "parentUUID": "236011a2-1fa7-4007-a2e9-8a74640e999a", "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": 47269, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('.nav-link').contains('More').click();\ncy.get('.dropdown-menu a').contains('Coupon').click({\n force: true\n});\ncy.wait(8000);\ncy.get('span').contains('Create Coupon').click({\n force: true\n});\ncy.url().should('include', '/coupons/create');\ncy.get('#name-input').type('Noman', {\n force: true\n});\ncy.get('#code-input').type('A2%T-IY', {\n force: true\n});\ncy.get('#coupon_add_form textarea').type('Adding Coupon');\ncy.get('#availability-input').select('Limited');\ncy.get('#available_from-input').should('be.visible');\ncy.get('#available_to-input').should('be.visible');\nvar todaysDate = Cypress.moment().format('MM/DD/YYYY');\nvar addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(10, 'days');\nvar endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\ncy.get('#available_from-input').type(todaysDate, {\n force: true\n});\ncy.get('#available_to-input').type(endDate, {\n force: true\n});\ncy.get('#discount_type-input').select('Percentage');\ncy.get('#discount_value-input').type('50');\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.wait(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": {}, "uuid": "b3207798-e577-4b90-b5a5-a76757a046df", "parentUUID": "236011a2-1fa7-4007-a2e9-8a74640e999a", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "25b403ec-3569-4dfb-b5af-bb5728bb3bb5", "b3207798-e577-4b90-b5a5-a76757a046df" ], "failures": [], "pending": [], "skipped": [], "duration": 98791, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "49ccf596-ec64-426d-95f5-3dde98a15bb5", "title": "", "fullFile": "cypress/integration/SF/f-coupon/create-coupon.js", "file": "cypress/integration/SF/f-coupon/create-coupon.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "8c9fd245-d8b0-4e41-b831-f28407066181", "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": 32384, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/coupons\");\ncy.check();\ncy.contains('Create Coupon').click({\n force: true\n});\ncy.url().should('include', '/coupons/create');\ncy.get('#code-input').type('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": {}, "uuid": "c04da297-6eb8-4da1-90e4-b467f38bd480", "parentUUID": "8c9fd245-d8b0-4e41-b831-f28407066181", "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": 26010, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/coupons\");\ncy.check();\ncy.contains('Create Coupon').click({\n force: true\n});\ncy.url().should('include', '/coupons/create');\ncy.get('#code-input').type('DEF', {\n force: true\n});\ncy.get('#coupon_add_form textarea').type('Adding Coupon');\ncy.get('#availability-input').select('Limited');\ncy.get('#available_from-input').should('be.visible');\ncy.get('#available_to-input').should('be.visible');\nvar todaysDate = Cypress.moment().format('MM/DD/YYYY');\nvar addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(10, 'days');\nvar endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\ncy.get('#available_from-input').type(todaysDate, {\n force: true\n});\ncy.get('#available_to-input').type(endDate, {\n force: true\n});\ncy.get('#discount_type-input').select('Percentage');\ncy.get('#discount_value-input').type('50');\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.wait(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": {}, "uuid": "75d6ef08-bc14-4512-bf33-d957cf8606ef", "parentUUID": "8c9fd245-d8b0-4e41-b831-f28407066181", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "c04da297-6eb8-4da1-90e4-b467f38bd480", "75d6ef08-bc14-4512-bf33-d957cf8606ef" ], "failures": [], "pending": [], "skipped": [], "duration": 58394, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "efc1223b-f1b4-415d-81cc-35d12cef058a", "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": "f313e5e0-4b93-4905-9e8f-f393c41ee8d7", "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": 42230, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(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.wait(10000);\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": {}, "uuid": "447c3999-67a4-483b-96a1-a687190a5cd2", "parentUUID": "f313e5e0-4b93-4905-9e8f-f393c41ee8d7", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "447c3999-67a4-483b-96a1-a687190a5cd2" ], "failures": [], "pending": [], "skipped": [], "duration": 42230, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "207ecef7-99f1-48b8-930c-89b0c05f07c6", "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": "451cc7b6-3761-4b90-b009-a85569cd7a41", "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": 134479, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.visit('/en/customers');\ncy.contains('Create Customer').click({\n force: true\n});\ncy.url().should('include', '/customers/create');\ncy.contains('Basic Information').should('be.visible');\ncy.contains('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": "1cdeeb41-1c0a-4fe8-b291-ad646fc2fc37", "parentUUID": "451cc7b6-3761-4b90-b009-a85569cd7a41", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "1cdeeb41-1c0a-4fe8-b291-ad646fc2fc37" ], "failures": [], "pending": [], "skipped": [], "duration": 134479, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "de59fdcb-e46f-4ddd-8c1a-ee483a1e95b0", "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": "d800b71b-422d-47fb-9462-ec5a7814158a", "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": 114998, "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": "ed17aee3-caa1-457f-abc7-0ee213ee4d46", "parentUUID": "d800b71b-422d-47fb-9462-ec5a7814158a", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "ed17aee3-caa1-457f-abc7-0ee213ee4d46" ], "failures": [], "pending": [], "skipped": [], "duration": 114998, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "94f7caf7-abe9-407a-8903-d29f644b2011", "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": "a71ed7f3-5e8b-4c20-8f4b-e12d66b5cb06", "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": 43809, "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": "96603164-b195-4d8f-9886-33c2a3ccf4e7", "parentUUID": "a71ed7f3-5e8b-4c20-8f4b-e12d66b5cb06", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "96603164-b195-4d8f-9886-33c2a3ccf4e7" ], "failures": [], "pending": [], "skipped": [], "duration": 43809, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "17eb3365-5038-4b13-bee3-634a32a8dd77", "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": "9f8d6265-3bb7-45ac-bea8-24cedadccc62", "title": "Delete a customer", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Should delete customers", "fullTitle": "Delete a customer Should delete customers", "timedOut": null, "duration": 201826, "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": "e3d72d18-6ea2-4fca-a172-6dfb5b5b5017", "parentUUID": "9f8d6265-3bb7-45ac-bea8-24cedadccc62", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "e3d72d18-6ea2-4fca-a172-6dfb5b5b5017" ], "failures": [], "pending": [], "skipped": [], "duration": 201826, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "bf3076a7-efb3-4d15-b25e-2129ff6ea4ca", "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": "cc28aef9-67ca-4a4b-a950-2f3f51413a17", "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": 33216, "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});", "err": { "message": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/en/customers/2bca35f9-dd67-4495-8695-8bc8b7cab283/edit' to include '/customer-detail/'", "estack": "AssertionError: Timed out retrying: expected 'https://test.subscriptionflow.com/en/customers/2bca35f9-dd67-4495-8695-8bc8b7cab283/edit' to include '/customer-detail/'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/06edit_customer.spec.js:132:16)", "diff": null }, "uuid": "06c95894-72ce-4f5d-bdc6-129acc187641", "parentUUID": "cc28aef9-67ca-4a4b-a950-2f3f51413a17", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "06c95894-72ce-4f5d-bdc6-129acc187641" ], "pending": [], "skipped": [], "duration": 33216, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "c4eb1f3d-caf9-4c7f-9d95-89f5e894f126", "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": "fab3041e-36ea-487b-9e14-a31421755cdf", "title": "Clear Selections", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Unselect all selected entries", "fullTitle": "Clear Selections Unselect all selected entries", "timedOut": null, "duration": 23003, "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": "fc9ec0a8-0684-4368-9a6a-1007fb742749", "parentUUID": "fab3041e-36ea-487b-9e14-a31421755cdf", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "fc9ec0a8-0684-4368-9a6a-1007fb742749" ], "failures": [], "pending": [], "skipped": [], "duration": 23003, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "8d871385-5e27-46c1-a4a1-038d850a5973", "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": "912e145a-b70c-4191-a550-2a5d063fd8a9", "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": 53288, "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": "9d0ebb54-f81e-42d3-a5af-258e0a56a727", "parentUUID": "912e145a-b70c-4191-a550-2a5d063fd8a9", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "9d0ebb54-f81e-42d3-a5af-258e0a56a727" ], "failures": [], "pending": [], "skipped": [], "duration": 53288, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "380d83ba-eaf4-4d39-818b-616b0009caae", "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": "b8063772-3a5e-4dfd-87a0-b54d1e49ee51", "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": 122060, "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": "a26af81c-6b4f-43df-a55e-7c5abb1c61ed", "parentUUID": "b8063772-3a5e-4dfd-87a0-b54d1e49ee51", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "a26af81c-6b4f-43df-a55e-7c5abb1c61ed" ], "failures": [], "pending": [], "skipped": [], "duration": 122060, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "78a0d187-7bcf-4f18-a96e-481d4535b9c7", "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": "ed97bf69-3b12-45cd-92da-4b2c95bc4425", "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": 123680, "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('#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": {}, "uuid": "f5162b01-c568-4d9f-818f-027ee0626387", "parentUUID": "ed97bf69-3b12-45cd-92da-4b2c95bc4425", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "f5162b01-c568-4d9f-818f-027ee0626387" ], "failures": [], "pending": [], "skipped": [], "duration": 123680, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "f854ddfe-82bb-4a2e-b66d-11aa69a18975", "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": "f4cd91b7-d84b-4f7a-821e-151743701517", "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": 123614, "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": "bc468784-1a02-44e3-9e9a-4e512c484fd8", "parentUUID": "f4cd91b7-d84b-4f7a-821e-151743701517", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "bc468784-1a02-44e3-9e9a-4e512c484fd8" ], "failures": [], "pending": [], "skipped": [], "duration": 123614, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "c1df5696-985a-45ae-b588-4b29b4d43525", "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": "630d1236-ce60-4305-b3b8-22fdb2e4315c", "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": 810774, "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": "1d8902ee-59f5-4e3b-9630-86f2e6d61d64", "parentUUID": "630d1236-ce60-4305-b3b8-22fdb2e4315c", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "1d8902ee-59f5-4e3b-9630-86f2e6d61d64" ], "failures": [], "pending": [], "skipped": [], "duration": 810774, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "16f8c53e-d558-49de-8bbc-c4fd227a2539", "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": "ff034a33-b6b3-4ebb-a97e-d7aa6069bc0f", "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": 122723, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#po_number').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"PO Number\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 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": {}, "uuid": "95860821-c2ba-4c5b-90b4-4b936d9f5818", "parentUUID": "ff034a33-b6b3-4ebb-a97e-d7aa6069bc0f", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "95860821-c2ba-4c5b-90b4-4b936d9f5818" ], "failures": [], "pending": [], "skipped": [], "duration": 122723, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "75dcf099-b9a4-42fc-96c1-252e948d0ebb", "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": "cf280d28-70b1-403c-ad4f-b2c18e1147af", "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": 100720, "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": "f0b238b7-843e-4fcd-9817-ee8dfaba59a0", "parentUUID": "cf280d28-70b1-403c-ad4f-b2c18e1147af", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "f0b238b7-843e-4fcd-9817-ee8dfaba59a0" ], "failures": [], "pending": [], "skipped": [], "duration": 100720, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "814a5996-1b4f-4558-8795-10d98b9af5e6", "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": "acb1aedb-7d67-44e0-8a5e-7822d902b3e2", "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": 101367, "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": "36ccd12b-fe19-4311-9087-375ae41020ce", "parentUUID": "acb1aedb-7d67-44e0-8a5e-7822d902b3e2", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "36ccd12b-fe19-4311-9087-375ae41020ce" ], "failures": [], "pending": [], "skipped": [], "duration": 101367, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "8f35cb94-c89f-4f53-8ae0-69a2f9dec8d8", "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": "6cd3cc01-76a8-4aba-a800-a24c4e65fe69", "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": 44228, "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": "f9b16550-4723-463a-ab2c-561071aabf71", "parentUUID": "6cd3cc01-76a8-4aba-a800-a24c4e65fe69", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "f9b16550-4723-463a-ab2c-561071aabf71" ], "failures": [], "pending": [], "skipped": [], "duration": 44228, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "34906500-c9b1-4752-836a-a398e82e3276", "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": "08acc870-d58a-4877-aa56-ded0e9d721ef", "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": 123502, "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": "0af10546-5fcb-408e-b8b2-8dc6c07fcbc8", "parentUUID": "08acc870-d58a-4877-aa56-ded0e9d721ef", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "0af10546-5fcb-408e-b8b2-8dc6c07fcbc8" ], "failures": [], "pending": [], "skipped": [], "duration": 123502, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "368de1ae-5940-493c-8fca-7da948075357", "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": "951cf433-5997-4489-91d0-7c8a6d2f11ba", "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": 122674, "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": "3607c957-b245-4501-b2d3-d06a14f1dd95", "parentUUID": "951cf433-5997-4489-91d0-7c8a6d2f11ba", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "3607c957-b245-4501-b2d3-d06a14f1dd95" ], "failures": [], "pending": [], "skipped": [], "duration": 122674, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "9c8fbec4-f370-4aa7-9b9b-8c1d8d2b8962", "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": "ee4f9e68-2aa5-42c3-83ec-3ee17152c386", "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": 122480, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#issuing_jurisdiction').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Issuing Jurisdiction\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 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": {}, "uuid": "c8b69fd9-3350-4497-ae61-71fc3d662fa2", "parentUUID": "ee4f9e68-2aa5-42c3-83ec-3ee17152c386", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "c8b69fd9-3350-4497-ae61-71fc3d662fa2" ], "failures": [], "pending": [], "skipped": [], "duration": 122480, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "bf175f16-8ddb-445e-8892-35592649b683", "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": "4d00f84f-4793-4c8e-ad76-157b31f24ec9", "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": 102528, "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": "9fb52ac8-b719-4543-90ff-6043a63c3776", "parentUUID": "4d00f84f-4793-4c8e-ad76-157b31f24ec9", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "9fb52ac8-b719-4543-90ff-6043a63c3776" ], "failures": [], "pending": [], "skipped": [], "duration": 102528, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "97258887-e12a-48d3-a9de-2fdd7c46685d", "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": "c789fc75-ccca-4259-99ef-b11e4e5a6271", "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": 121975, "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": "3bf52927-33fa-4bb4-a1ce-d4873387d24b", "parentUUID": "c789fc75-ccca-4259-99ef-b11e4e5a6271", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "3bf52927-33fa-4bb4-a1ce-d4873387d24b" ], "failures": [], "pending": [], "skipped": [], "duration": 121975, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "41bc45e8-64ef-46c5-8543-1216df1e02a3", "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": "5e18c48a-da17-4cc4-aad7-26cb4a563e50", "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": 144948, "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('#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": {}, "uuid": "b640b54c-9314-4f04-8cad-ca289d4a4add", "parentUUID": "5e18c48a-da17-4cc4-aad7-26cb4a563e50", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "b640b54c-9314-4f04-8cad-ca289d4a4add" ], "failures": [], "pending": [], "skipped": [], "duration": 144948, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "4430f972-0a7c-4ca5-9e94-66047393eee8", "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": "4c8b12c8-00b9-45ce-b2ed-1d13544a210a", "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": 121455, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#vat_id').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"VAT ID\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 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": {}, "uuid": "d9442c62-da24-42c8-baf4-fb5fd571c9e3", "parentUUID": "4c8b12c8-00b9-45ce-b2ed-1d13544a210a", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "d9442c62-da24-42c8-baf4-fb5fd571c9e3" ], "failures": [], "pending": [], "skipped": [], "duration": 121455, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "143e67ff-5a30-48a3-887f-fc23106da128", "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": "d2e845c2-7f87-4f10-90f2-78f1ac91a08f", "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": 57768, "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": "2531695c-d9ff-4fab-892d-659cc03b9419", "parentUUID": "d2e845c2-7f87-4f10-90f2-78f1ac91a08f", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "2531695c-d9ff-4fab-892d-659cc03b9419" ], "failures": [], "pending": [], "skipped": [], "duration": 57768, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "4d7d2fea-b78d-4714-ae4a-bb7bd50e83be", "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": "d8242ba6-af1f-4f37-8380-65391ccc19b4", "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": 122049, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_address_1').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing Address 1\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 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": {}, "uuid": "addaa170-3417-477b-afe6-3249cad86e1b", "parentUUID": "d8242ba6-af1f-4f37-8380-65391ccc19b4", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "addaa170-3417-477b-afe6-3249cad86e1b" ], "failures": [], "pending": [], "skipped": [], "duration": 122049, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "2e19a5d0-db14-4cf9-bfea-a03b0aab68f5", "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": "16e00db9-4857-4e1c-aaf5-7f141c87aab3", "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": 122586, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_address_2').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing Address 2\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 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": {}, "uuid": "ef3b3815-181b-4fb9-99ff-6c45dd9e55f2", "parentUUID": "16e00db9-4857-4e1c-aaf5-7f141c87aab3", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "ef3b3815-181b-4fb9-99ff-6c45dd9e55f2" ], "failures": [], "pending": [], "skipped": [], "duration": 122586, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "714b914e-9ab2-4833-85ad-fc6221e5a100", "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": "05d6225e-dd8c-4142-bc36-b59b5d09ce03", "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": 122132, "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": "fc491156-3d0b-4c79-9e39-8f23bb375027", "parentUUID": "05d6225e-dd8c-4142-bc36-b59b5d09ce03", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "fc491156-3d0b-4c79-9e39-8f23bb375027" ], "failures": [], "pending": [], "skipped": [], "duration": 122132, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "f431d7a1-940c-4d54-8c0e-1c8e3db85caa", "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": "8e2818fc-3972-40b8-8804-193f7753b5c0", "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": 122401, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_state').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing State\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 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": {}, "uuid": "4a0137c1-335d-4b02-a844-eee4eef06930", "parentUUID": "8e2818fc-3972-40b8-8804-193f7753b5c0", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "4a0137c1-335d-4b02-a844-eee4eef06930" ], "failures": [], "pending": [], "skipped": [], "duration": 122401, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "213bd51a-ad4a-4126-baad-d36587faffd6", "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": "e4db68a5-b7f8-4148-bd35-0a513cb71701", "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": 122881, "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": "f9b41e77-fd92-4e65-8c03-9c8d66504ae3", "parentUUID": "e4db68a5-b7f8-4148-bd35-0a513cb71701", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "f9b41e77-fd92-4e65-8c03-9c8d66504ae3" ], "failures": [], "pending": [], "skipped": [], "duration": 122881, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "c944523e-dfde-48a6-9877-462224ea39b2", "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": "cefd45bd-0424-491a-a2ad-76a109efca71", "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": 122292, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_postal_code').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing Postal Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 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": {}, "uuid": "feb69a2e-e7e5-4eed-b11d-454b0d817702", "parentUUID": "cefd45bd-0424-491a-a2ad-76a109efca71", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "feb69a2e-e7e5-4eed-b11d-454b0d817702" ], "failures": [], "pending": [], "skipped": [], "duration": 122292, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "245a4cde-c9f9-412d-8492-5d19627a16d2", "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": "0e0c2fd6-d0e0-4b5b-8dfb-977feaaaa1d7", "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": 123200, "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": "fa87fe6b-3327-4e2f-bc99-7d93fc48f627", "parentUUID": "0e0c2fd6-d0e0-4b5b-8dfb-977feaaaa1d7", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "fa87fe6b-3327-4e2f-bc99-7d93fc48f627" ], "failures": [], "pending": [], "skipped": [], "duration": 123200, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "da2d97ec-edf3-44f5-a899-6eafd33d4afa", "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": "9654481b-7d39-452f-9cee-dd08754d1616", "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": 122833, "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": "2fdd29d6-2467-4d38-a07d-3b06548ce00b", "parentUUID": "9654481b-7d39-452f-9cee-dd08754d1616", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "2fdd29d6-2467-4d38-a07d-3b06548ce00b" ], "failures": [], "pending": [], "skipped": [], "duration": 122833, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "36012da6-b680-4941-ab30-f0296a2b3db7", "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": "d7e88397-b27d-47a0-87d7-ebfb58a477a5", "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": 123677, "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_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": {}, "uuid": "1dc91376-b542-40f9-a6e8-d60bc7d69b8a", "parentUUID": "d7e88397-b27d-47a0-87d7-ebfb58a477a5", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "1dc91376-b542-40f9-a6e8-d60bc7d69b8a" ], "failures": [], "pending": [], "skipped": [], "duration": 123677, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "f1faf764-65a3-4232-b615-056cc2a8609f", "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": "f1d3202b-ae99-4972-971d-1621205c78f0", "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": 122359, "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_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": {}, "uuid": "b6846538-4bd9-4a49-8ab3-23d0c701e605", "parentUUID": "f1d3202b-ae99-4972-971d-1621205c78f0", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "b6846538-4bd9-4a49-8ab3-23d0c701e605" ], "failures": [], "pending": [], "skipped": [], "duration": 122359, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "8c6b3c58-d2b5-486c-b066-7732a98b907b", "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": "36f1157b-45ef-44af-91e5-bbc83a59e082", "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": 122309, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_city').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Shipping City\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 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": {}, "uuid": "ea348512-e5a3-4b6a-aad4-f3e6bcc73b22", "parentUUID": "36f1157b-45ef-44af-91e5-bbc83a59e082", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "ea348512-e5a3-4b6a-aad4-f3e6bcc73b22" ], "failures": [], "pending": [], "skipped": [], "duration": 122309, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "74c2d0ae-f415-4099-a1af-c251dde67ad8", "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": "bdad2e02-bc05-472f-ac89-396f1a61b6de", "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": 122105, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_postal_code').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Shipping Postal Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n var i = 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": {}, "uuid": "9ee9c25b-ccba-4ed6-bea6-8aa0e978fab1", "parentUUID": "bdad2e02-bc05-472f-ac89-396f1a61b6de", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "9ee9c25b-ccba-4ed6-bea6-8aa0e978fab1" ], "failures": [], "pending": [], "skipped": [], "duration": 122105, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "2d27ded8-75fb-4c3a-a2fb-a21e5bd1f624", "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": "3a040164-c7e9-4c5a-95ac-50ded806628e", "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": 131868, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#created_at').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(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('02/02/2021');\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('02/02/2021');\n expect(elements.text()).to.eq('02/02/2021');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Before', {\n force: true\n });\n cy.get('input[name=\"filter_value[created_at]\"]').type('02/02/2021');\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.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('01/29/2021');\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": {}, "uuid": "95b1c6e3-fff7-4982-8827-9c3123ca6050", "parentUUID": "3a040164-c7e9-4c5a-95ac-50ded806628e", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "95b1c6e3-fff7-4982-8827-9c3123ca6050" ], "failures": [], "pending": [], "skipped": [], "duration": 131868, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "86595d11-322b-4e69-b186-1fc3453e1197", "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": "6da4b5f6-72eb-4cc7-b7e7-9048458936b4", "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": 45207, "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('SubscriptionFlow Admin').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('subscriptionflowadmin');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_by]\"]').select(\"isn't\", {\n force: true\n });\n cy.get('#select2-created_by-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-created_by-input-results li').contains('SubscriptionFlow Admin').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('subscriptionflowadmin');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find content: 'SubscriptionFlow Admin' within the element: <ul#select2-created_by-input-results.select2-results__options> but never did.", "estack": "AssertionError: Timed out retrying: Expected to find content: 'SubscriptionFlow Admin' within the element: <ul#select2-created_by-input-results.select2-results__options> but never did.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/38filter_by_CreatedBy.spec.js:151:57)", "diff": null }, "uuid": "300cbb28-2450-49d9-a719-5d17439fd5eb", "parentUUID": "6da4b5f6-72eb-4cc7-b7e7-9048458936b4", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "300cbb28-2450-49d9-a719-5d17439fd5eb" ], "pending": [], "skipped": [], "duration": 45207, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "85f79870-8755-44b1-a61c-13d56a7d366d", "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": "8019b553-8cd3-4ea2-8258-3aa8be5c0e61", "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": 46456, "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('SubscriptionFlow Admin').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text() == \"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('subscriptionflowadmin');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.get('button').contains('Clear').click({\n force: true\n});\ncy.wait(10000);\nvar a = 0;\nvar b;\nvar newcust = [];\ncy.get('.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": "AssertionError: Timed out retrying: Expected to find content: 'SubscriptionFlow Admin' within the element: <ul#select2-created_by-input-results.select2-results__options> but never did.", "estack": "AssertionError: Timed out retrying: Expected to find content: 'SubscriptionFlow Admin' within the element: <ul#select2-created_by-input-results.select2-results__options> but never did.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/39clear_filter.spec.js:171:57)", "diff": null }, "uuid": "dea18cdc-ba25-487e-b6c6-dfecda7c8f5c", "parentUUID": "8019b553-8cd3-4ea2-8258-3aa8be5c0e61", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "dea18cdc-ba25-487e-b6c6-dfecda7c8f5c" ], "pending": [], "skipped": [], "duration": 46456, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "8f3bd0d7-e648-459d-a85a-6b2fe5fc9bbd", "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": "af4c1de6-7fa1-4219-9a64-8444dd69bdf6", "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": 67949, "state": "passed", "speed": "slow", "pass": true, "fail": false, "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": {}, "uuid": "34b1950b-d3cc-4610-8886-0ee1249b8c33", "parentUUID": "af4c1de6-7fa1-4219-9a64-8444dd69bdf6", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "34b1950b-d3cc-4610-8886-0ee1249b8c33" ], "failures": [], "pending": [], "skipped": [], "duration": 67949, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "85601508-7b83-47c7-85b8-d05eec2621c7", "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": "1f172aa1-7cf9-46ab-9cfc-e84031db7a99", "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": 176317, "state": "passed", "speed": "slow", "pass": true, "fail": false, "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": {}, "uuid": "810425e2-c31f-4669-b424-66d61ae8c3d2", "parentUUID": "1f172aa1-7cf9-46ab-9cfc-e84031db7a99", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "810425e2-c31f-4669-b424-66d61ae8c3d2" ], "failures": [], "pending": [], "skipped": [], "duration": 176317, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "6ea68a9c-e123-4682-9065-67900e1a256a", "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": "08f3bda9-48bb-47a9-a89f-3d7eba25153d", "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": 149734, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(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": {}, "uuid": "0b58ab28-18dd-4095-8df0-f3fd97168e4b", "parentUUID": "08f3bda9-48bb-47a9-a89f-3d7eba25153d", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "0b58ab28-18dd-4095-8df0-f3fd97168e4b" ], "failures": [], "pending": [], "skipped": [], "duration": 149734, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "3d6bc367-c88b-488e-a260-ed6f28c09210", "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": "ca60b4b8-cefe-4b78-99c7-3e4a496fba1d", "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": 166194, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(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": {}, "uuid": "751d7c9a-fd5e-4fd4-8727-437e15e71dd2", "parentUUID": "ca60b4b8-cefe-4b78-99c7-3e4a496fba1d", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "751d7c9a-fd5e-4fd4-8727-437e15e71dd2" ], "failures": [], "pending": [], "skipped": [], "duration": 166194, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "4a3f1c59-93a9-4e90-ad83-cb2235f97bb5", "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": "8646cd16-100b-488c-966e-1bacbeaf5699", "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": 140801, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(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": {}, "uuid": "ecaf3061-596f-481d-a5c1-e8abc73b7251", "parentUUID": "8646cd16-100b-488c-966e-1bacbeaf5699", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "ecaf3061-596f-481d-a5c1-e8abc73b7251" ], "failures": [], "pending": [], "skipped": [], "duration": 140801, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "b716ced9-14c5-4a0a-8013-81e94ed34233", "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": "a030b474-5c4a-4e85-bc7e-02d99e3e7329", "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": 170995, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(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": {}, "uuid": "a8365cb9-5d26-4948-9a73-5f60dd0ee29e", "parentUUID": "a030b474-5c4a-4e85-bc7e-02d99e3e7329", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "a8365cb9-5d26-4948-9a73-5f60dd0ee29e" ], "failures": [], "pending": [], "skipped": [], "duration": 170995, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "e83e97c3-e79c-4a36-bc86-e7e5f707143b", "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": "2d96e99e-5374-48f7-863f-70d3888b26e0", "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": 114222, "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": "AssertionError: Timed out retrying: Expected to find element: `.row h5`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `.row h5`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/48Add_Public_Payment_PayPalExpress.spec.js:199:8)", "diff": null }, "uuid": "0e5ac225-137c-4f7c-9690-20a72e6e50f6", "parentUUID": "2d96e99e-5374-48f7-863f-70d3888b26e0", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "0e5ac225-137c-4f7c-9690-20a72e6e50f6" ], "pending": [], "skipped": [], "duration": 114222, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "4f827f78-3823-477e-b579-aa05003587a7", "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": "2e3290af-b2e1-415b-8674-7d2375c2f86b", "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": 60727, "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: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\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:189:14)", "diff": null }, "uuid": "5a6c7d95-4544-47a2-92ef-d1e2eec79dc4", "parentUUID": "2e3290af-b2e1-415b-8674-7d2375c2f86b", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "5a6c7d95-4544-47a2-92ef-d1e2eec79dc4" ], "pending": [], "skipped": [], "duration": 60727, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "f3159822-fc44-4bd5-a8e7-f2f7c13ec810", "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": "b069c1f0-a50c-4973-86c1-6e41a91d4e76", "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": 60785, "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: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\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:194:14)", "diff": null }, "uuid": "a817f44e-c71f-4154-a376-0636cb3461e8", "parentUUID": "b069c1f0-a50c-4973-86c1-6e41a91d4e76", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "a817f44e-c71f-4154-a376-0636cb3461e8" ], "pending": [], "skipped": [], "duration": 60785, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "f6404573-3249-4ac9-b3a3-c38a76fc3691", "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": "3d624ea2-5398-49af-8d6a-724a56f03024", "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": 60895, "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: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/51Process_Payment_Cheque_Status_Paid.spec.js:195:14)", "diff": null }, "uuid": "383645e4-35c9-4ff3-97fb-6f7d1ac5b320", "parentUUID": "3d624ea2-5398-49af-8d6a-724a56f03024", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "383645e4-35c9-4ff3-97fb-6f7d1ac5b320" ], "pending": [], "skipped": [], "duration": 60895, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "5b3c9ecb-ce0d-494a-b636-061ee66b0f12", "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": "16382c8a-76c9-4f66-a07a-9dd0a321b129", "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": 60000, "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: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/52Process_Payment_Cheque_Status_Approve_Pending.spec.js:195:14)", "diff": null }, "uuid": "6f589fbe-db89-4220-9969-4c4bd705111d", "parentUUID": "16382c8a-76c9-4f66-a07a-9dd0a321b129", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "6f589fbe-db89-4220-9969-4c4bd705111d" ], "pending": [], "skipped": [], "duration": 60000, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "16d9ba76-3bfb-474c-bc1c-c3ac4cad6e8e", "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": "f2c5b17d-821d-45bb-b9dd-d7f48cf27da5", "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": 62548, "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: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/53Process_Payment_Cheque_Status_Decline_Pending.spec.js:192:14)", "diff": null }, "uuid": "ed32ec74-0ada-4fb1-bc1f-f827a61c6dd2", "parentUUID": "f2c5b17d-821d-45bb-b9dd-d7f48cf27da5", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "ed32ec74-0ada-4fb1-bc1f-f827a61c6dd2" ], "pending": [], "skipped": [], "duration": 62548, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "3c363a86-c5de-4038-85d1-a2eeac7188e3", "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": "163cf645-933a-4cac-80b8-fdf9b569cf5c", "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": 60287, "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: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/54Process_Payment_BankTransfer.spec.js:192:14)", "diff": null }, "uuid": "738f1ecb-bb07-4ee8-bf8f-516be5c5982c", "parentUUID": "163cf645-933a-4cac-80b8-fdf9b569cf5c", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "738f1ecb-bb07-4ee8-bf8f-516be5c5982c" ], "pending": [], "skipped": [], "duration": 60287, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "73868d30-555a-487a-830a-306825b362ce", "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": "69e3c742-de47-4de5-8eaf-ef9762cdb68a", "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": 58198, "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: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/55Cancel_Process_Payment.spec.js:178:14)", "diff": null }, "uuid": "2c928c82-3a59-48f3-9edb-6b3a8a4712b8", "parentUUID": "69e3c742-de47-4de5-8eaf-ef9762cdb68a", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "2c928c82-3a59-48f3-9edb-6b3a8a4712b8" ], "pending": [], "skipped": [], "duration": 58198, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "663d73cf-408a-40ca-a303-6b7146047ec5", "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": "f209dcc6-52e9-45f7-b85a-9b7760a861f9", "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": 60127, "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: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/56Process_Payment_Wire_Status_Paid.spec.js:195:14)", "diff": null }, "uuid": "0165fb38-2815-4700-b0f5-3eb878ecfd44", "parentUUID": "f209dcc6-52e9-45f7-b85a-9b7760a861f9", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "0165fb38-2815-4700-b0f5-3eb878ecfd44" ], "pending": [], "skipped": [], "duration": 60127, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "af530d47-1ca9-4e1e-ac54-5757e4792ac9", "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": "aab9dcb0-3502-4b96-81c9-4d4bc04fd779", "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": 61326, "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: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/57Process_Payment_Wire_Status_Approve_Pending.spec.js:195:14)", "diff": null }, "uuid": "628da2bc-e1c8-46c7-82f1-e8bdf7f0c92d", "parentUUID": "aab9dcb0-3502-4b96-81c9-4d4bc04fd779", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "628da2bc-e1c8-46c7-82f1-e8bdf7f0c92d" ], "pending": [], "skipped": [], "duration": 61326, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "23b2d586-547f-438c-8d6d-63d67a046e29", "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": "934428b0-017f-4a3c-8f7b-3adc42000d63", "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": 59072, "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: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/58Process_Payment_Wire_Status_Decline_Pending.spec.js:185:14)", "diff": null }, "uuid": "db49bbb9-8099-4ec0-99c8-c5997e661ff7", "parentUUID": "934428b0-017f-4a3c-8f7b-3adc42000d63", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "db49bbb9-8099-4ec0-99c8-c5997e661ff7" ], "pending": [], "skipped": [], "duration": 59072, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "4a484ba8-299b-4dd0-b978-72d49373e115", "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": "fa080440-6545-41ab-b2cb-22c4a0a14caf", "title": "Process Payment", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Make payment through Card", "fullTitle": "Process Payment Make payment through Card", "timedOut": null, "duration": 126477, "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: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/59Process_Payment_Card.spec.js:235:14)", "diff": null }, "uuid": "8fa51320-2e9a-4745-a8e7-09ee3a2d02be", "parentUUID": "fa080440-6545-41ab-b2cb-22c4a0a14caf", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "8fa51320-2e9a-4745-a8e7-09ee3a2d02be" ], "pending": [], "skipped": [], "duration": 126477, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "423b7eb2-64d8-48ab-a5dc-de02222ad8e7", "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": "0972c2e1-11b9-42c2-bf6d-0da852f0ea3d", "title": "Process Payment", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Make payment through eCheck", "fullTitle": "Process Payment Make payment through eCheck", "timedOut": null, "duration": 132993, "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: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/60Process_Payment_eCheck.spec.js:235:14)", "diff": null }, "uuid": "9a54cd55-ee9e-4f79-b291-35804b579c1b", "parentUUID": "0972c2e1-11b9-42c2-bf6d-0da852f0ea3d", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "9a54cd55-ee9e-4f79-b291-35804b579c1b" ], "pending": [], "skipped": [], "duration": 132993, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "9ea443de-da0e-47e7-ab4d-c5c52d7d7bae", "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": "f334c2ba-086e-4d77-bbeb-f80f5e502f62", "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": 60480, "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": "CypressError: Timed out retrying: `cy.select()` failed because it could not find a single `<option>` with value or text matching: `PayPal`\n\nhttps://on.cypress.io/select", "estack": "CypressError: Timed out retrying: `cy.select()` failed because it could not find a single `<option>` with value or text matching: `PayPal`\n\nhttps://on.cypress.io/select\n at getOptions (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:153160:21)\n at tryCatcher (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Function.Promise.attempt.Promise.try (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:7858:29)\n at retryOptions (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:153198:27)\n at tryCatcher (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Function.Promise.attempt.Promise.try (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:7858:29)\n at tryFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:165607:21)\n at whenStable (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:165645:12)\n at https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:165140:16\n at tryCatcher (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8701:18)\n at Promise._fulfill (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8645:18)\n at https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:10259:46\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/61Process_Payment_PayPal_Approve.spec.js:183:41)", "diff": null }, "uuid": "cebbe048-9473-4b0e-b9e0-03c7d118551a", "parentUUID": "f334c2ba-086e-4d77-bbeb-f80f5e502f62", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "cebbe048-9473-4b0e-b9e0-03c7d118551a" ], "pending": [], "skipped": [], "duration": 60480, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "3cc1d224-89c5-4886-b1fd-c6c14e7b317a", "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": "e31fe28d-9f9e-4c12-bf4b-84c229f74c16", "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": 180403, "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": "AssertionError: expected '1' to equal '2'", "estack": "AssertionError: expected '1' to equal '2'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/63Add_Payment_BankTransfer_AuthorizeNet.spec.js:257:29)", "diff": "- '1'\n+ '2'\n" }, "uuid": "b6eb3883-a1bf-4a86-a976-c45929bd28cd", "parentUUID": "e31fe28d-9f9e-4c12-bf4b-84c229f74c16", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "b6eb3883-a1bf-4a86-a976-c45929bd28cd" ], "pending": [], "skipped": [], "duration": 180403, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "415def35-cc3d-451b-8c86-ed223df25316", "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": "c4d66403-2396-4050-a2b4-ac28cc3d3fd2", "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": 192761, "state": "passed", "speed": "slow", "pass": true, "fail": false, "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": {}, "uuid": "1976cc8e-def3-4192-b0b0-60d4d2b20493", "parentUUID": "c4d66403-2396-4050-a2b4-ac28cc3d3fd2", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "1976cc8e-def3-4192-b0b0-60d4d2b20493" ], "failures": [], "pending": [], "skipped": [], "duration": 192761, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "cdb734e2-5d31-4bf4-ab93-ace6d19cebb7", "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": "32c9ea36-616a-49fa-85f7-76656b55e178", "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": 188817, "state": "passed", "speed": "slow", "pass": true, "fail": false, "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": {}, "uuid": "c95cae07-4370-4cbd-ac67-2004e7f7f5ee", "parentUUID": "32c9ea36-616a-49fa-85f7-76656b55e178", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "c95cae07-4370-4cbd-ac67-2004e7f7f5ee" ], "failures": [], "pending": [], "skipped": [], "duration": 188817, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "7d254e21-a4cc-40ec-b457-9aadc8d5f6d1", "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": "c9cd8af2-4058-4b7d-b2d2-81ad66a9b6cd", "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": 175919, "state": "passed", "speed": "slow", "pass": true, "fail": false, "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": {}, "uuid": "0c38063a-9a41-4c43-89e6-7fe354690d2c", "parentUUID": "c9cd8af2-4058-4b7d-b2d2-81ad66a9b6cd", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "0c38063a-9a41-4c43-89e6-7fe354690d2c" ], "failures": [], "pending": [], "skipped": [], "duration": 175919, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "556b2941-c52a-4c14-827b-d35d51e96d1b", "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": "ee6bc624-3cd3-4932-990f-dfb45fe8ebc9", "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": 51083, "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: Timed out retrying: `cy.select()` failed because it could not find a single `<option>` with value or text matching: `PayPal Express Checkout`\n\nhttps://on.cypress.io/select", "estack": "CypressError: Timed out retrying: `cy.select()` failed because it could not find a single `<option>` with value or text matching: `PayPal Express Checkout`\n\nhttps://on.cypress.io/select\n at getOptions (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:153160:21)\n at tryCatcher (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Function.Promise.attempt.Promise.try (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:7858:29)\n at retryOptions (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:153198:27)\n at tryCatcher (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Function.Promise.attempt.Promise.try (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:7858:29)\n at tryFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:165607:21)\n at whenStable (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:165645:12)\n at https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:165140:16\n at tryCatcher (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8701:18)\n at Promise._fulfill (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8645:18)\n at https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:10259:46\nFrom Your Spec Code:\n at addPaymentMethod (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/68Add_Payment_PayPalExpress.spec.js:143:36)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/68Add_Payment_PayPalExpress.spec.js:129:9)", "diff": null }, "uuid": "ed23da84-757c-490c-a347-fff955892941", "parentUUID": "ee6bc624-3cd3-4932-990f-dfb45fe8ebc9", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "ed23da84-757c-490c-a347-fff955892941" ], "pending": [], "skipped": [], "duration": 51083, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "65ff8980-33a6-492c-9107-3188353e35f8", "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": "267ee781-89ec-4a0d-99df-117c90b5a10a", "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": 44440, "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: Timed out retrying: `cy.select()` failed because it could not find a single `<option>` with value or text matching: `PayPal Pro`\n\nhttps://on.cypress.io/select", "estack": "CypressError: Timed out retrying: `cy.select()` failed because it could not find a single `<option>` with value or text matching: `PayPal Pro`\n\nhttps://on.cypress.io/select\n at getOptions (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:153160:21)\n at tryCatcher (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Function.Promise.attempt.Promise.try (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:7858:29)\n at retryOptions (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:153198:27)\n at tryCatcher (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Function.Promise.attempt.Promise.try (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:7858:29)\n at tryFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:165607:21)\n at whenStable (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:165645:12)\n at https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:165140:16\n at tryCatcher (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8701:18)\n at Promise._fulfill (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8645:18)\n at https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:10259:46\nFrom Your Spec Code:\n at addPaymentMethod (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/69Add_Payment_Uncheck_Default.spec.js:157:36)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/69Add_Payment_Uncheck_Default.spec.js:112:9)", "diff": null }, "uuid": "a60ce1b5-1612-4343-b6cb-e49f6848f743", "parentUUID": "267ee781-89ec-4a0d-99df-117c90b5a10a", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "a60ce1b5-1612-4343-b6cb-e49f6848f743" ], "pending": [], "skipped": [], "duration": 44440, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "78fb5d1d-6b8f-4114-9d5b-e1159cba515b", "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": "8e6742c4-816a-4493-b32d-cc351b1d672b", "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": 44897, "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: Timed out retrying: `cy.select()` failed because it could not find a single `<option>` with value or text matching: `PayPal Pro`\n\nhttps://on.cypress.io/select", "estack": "CypressError: Timed out retrying: `cy.select()` failed because it could not find a single `<option>` with value or text matching: `PayPal Pro`\n\nhttps://on.cypress.io/select\n at getOptions (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:153160:21)\n at tryCatcher (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Function.Promise.attempt.Promise.try (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:7858:29)\n at retryOptions (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:153198:27)\n at tryCatcher (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Function.Promise.attempt.Promise.try (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:7858:29)\n at tryFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:165607:21)\n at whenStable (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:165645:12)\n at https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:165140:16\n at tryCatcher (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8701:18)\n at Promise._fulfill (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8645:18)\n at https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:10259:46\nFrom Your Spec Code:\n at addPaymentMethod (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/70Cancel_Add_Payment.spec.js:141:36)\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/70Cancel_Add_Payment.spec.js:112:9)", "diff": null }, "uuid": "db512065-1c4b-4e2d-9ba7-111ddbbdc88a", "parentUUID": "8e6742c4-816a-4493-b32d-cc351b1d672b", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "db512065-1c4b-4e2d-9ba7-111ddbbdc88a" ], "pending": [], "skipped": [], "duration": 44897, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "344ca07b-82e1-410e-abf0-5e11c8239df7", "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": "64dfd25a-d17e-4105-9741-022f85771c49", "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": 38356, "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: `[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 Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/71Allocate_Existing_Credits.spec.js:125:8)", "diff": null }, "uuid": "e7e95c8e-4830-4866-ac54-586615245cda", "parentUUID": "64dfd25a-d17e-4105-9741-022f85771c49", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "e7e95c8e-4830-4866-ac54-586615245cda" ], "pending": [], "skipped": [], "duration": 38356, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "88051177-1d69-46a2-910d-a4e7d6047d7f", "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": "810f2824-2721-4ca9-b03d-ec3f00f90690", "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": 37628, "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: `[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 Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/72Allocate_Existing_Credits_Amt_Gtr_Balance.spec.js:125:8)", "diff": null }, "uuid": "0da6f3ef-35ae-4269-8a0a-efbdd71000b6", "parentUUID": "810f2824-2721-4ca9-b03d-ec3f00f90690", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "0da6f3ef-35ae-4269-8a0a-efbdd71000b6" ], "pending": [], "skipped": [], "duration": 37628, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "53e9abb4-a2f5-476b-961e-130d0dfcfa71", "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": "8d88815d-2414-4eb6-acd5-39a8075a7f10", "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": 38345, "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: `[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 Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/73Allocate_Existing_Credits_Amt_Lt_Balance.spec.js:125:8)", "diff": null }, "uuid": "b72ee5fe-e486-43b9-8f89-44ab793b3c44", "parentUUID": "8d88815d-2414-4eb6-acd5-39a8075a7f10", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "b72ee5fe-e486-43b9-8f89-44ab793b3c44" ], "pending": [], "skipped": [], "duration": 38345, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "c057440f-7514-42e2-ac25-505a5d191a6f", "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": "8bc4f096-d9b9-4cb2-8d84-e33a1204791e", "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": 38052, "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: `[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 Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/74Allocate_Existing_Credits_Amt_Gtr_Outstanding.spec.js:125:8)", "diff": null }, "uuid": "662c87a3-8d15-4eea-a6fe-debea9506bd2", "parentUUID": "8bc4f096-d9b9-4cb2-8d84-e33a1204791e", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "662c87a3-8d15-4eea-a6fe-debea9506bd2" ], "pending": [], "skipped": [], "duration": 38052, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "cd537c11-d35c-4249-9461-c544a8c0e8a4", "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": "a6e69ced-abc3-4c2a-a6f4-21dc59c629dd", "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": 37156, "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: `[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 Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/75Allocate_Existing_Credits_Amt_Lt_Outstanding.spec.js:125:8)", "diff": null }, "uuid": "5287e70b-1fc0-41b9-905f-8b35d5090e1f", "parentUUID": "a6e69ced-abc3-4c2a-a6f4-21dc59c629dd", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "5287e70b-1fc0-41b9-905f-8b35d5090e1f" ], "pending": [], "skipped": [], "duration": 37156, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "afc4f326-9ee5-4881-94a3-34962ab2ec06", "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": "e2636b44-2c22-4312-bc49-69107ae9f795", "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": 38104, "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: `[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 Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/76Allocate_Existing_Credits_Amt_eq_Outstanding.spec.js:125:8)", "diff": null }, "uuid": "e12922a2-e7fa-4ef2-9d1a-56abe90649d3", "parentUUID": "e2636b44-2c22-4312-bc49-69107ae9f795", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "e12922a2-e7fa-4ef2-9d1a-56abe90649d3" ], "pending": [], "skipped": [], "duration": 38104, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "6faeb0e9-001b-459b-a783-147de52afa23", "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": "2c680d4d-fd2d-4740-bff7-843ab37646de", "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": 38257, "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: `[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 Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/77Allocate_Existing_Credits_Multiple_Invoices.spec.js:125:8)", "diff": null }, "uuid": "f27465ff-94ab-4fdc-a9d6-4f3120bd4f96", "parentUUID": "2c680d4d-fd2d-4740-bff7-843ab37646de", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "f27465ff-94ab-4fdc-a9d6-4f3120bd4f96" ], "pending": [], "skipped": [], "duration": 38257, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "a9182a3a-7afc-4885-8c60-38554115e001", "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": "c396d17f-47bd-4549-8ca8-fdbb472040b8", "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": 37807, "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: `[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 Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/78Create_And_Allocate_Credits.spec.js:125:8)", "diff": null }, "uuid": "df7acfcf-1253-4fde-8abd-4a927f3bb035", "parentUUID": "c396d17f-47bd-4549-8ca8-fdbb472040b8", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "df7acfcf-1253-4fde-8abd-4a927f3bb035" ], "pending": [], "skipped": [], "duration": 37807, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "c60af3f5-3568-4da3-b4df-90df46822424", "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": "f1573e95-78ce-4f98-8c91-9d4c7136b2b9", "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": 37553, "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: `[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 Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/79Create_And_Allocate_Balance_Gtr_Allocated.spec.js:125:8)", "diff": null }, "uuid": "831d795d-c31b-4be9-b875-8e53dec937dd", "parentUUID": "f1573e95-78ce-4f98-8c91-9d4c7136b2b9", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "831d795d-c31b-4be9-b875-8e53dec937dd" ], "pending": [], "skipped": [], "duration": 37553, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "4f73e3b8-e2fd-47d9-a3ab-09191c0658dc", "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": "93da665f-f65f-4ce7-a2fd-babe9c837d39", "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": 37822, "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: `[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 Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/80Create_And_Allocate_Balance_Lt_Allocated.spec.js:125:8)", "diff": null }, "uuid": "babbdb6e-d6b4-418b-81de-6913ee89fd3a", "parentUUID": "93da665f-f65f-4ce7-a2fd-babe9c837d39", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "babbdb6e-d6b4-418b-81de-6913ee89fd3a" ], "pending": [], "skipped": [], "duration": 37822, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "7b3c5575-3805-4925-aab5-9de667a749ee", "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": "978e4206-92b4-4092-adf9-a89a3ca63a99", "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": 37567, "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: `[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 Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/81Create_And_Allocate_Balance_Gtr_Outstanding.spec.js:125:8)", "diff": null }, "uuid": "7b6649cb-4ae2-410a-a83b-d5df9fc9c05c", "parentUUID": "978e4206-92b4-4092-adf9-a89a3ca63a99", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "7b6649cb-4ae2-410a-a83b-d5df9fc9c05c" ], "pending": [], "skipped": [], "duration": 37567, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "3bb62df4-9750-45c3-9b01-01e5ef4a7e46", "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": "b98f20ca-010f-487a-b0be-7aa88232e063", "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": 38316, "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: `[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 Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/82Create_And_Allocate_Balance_Lt_Outstanding.spec.js:125:8)", "diff": null }, "uuid": "e41c1d8f-a87f-42a0-94a6-03cc2f65b534", "parentUUID": "b98f20ca-010f-487a-b0be-7aa88232e063", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "e41c1d8f-a87f-42a0-94a6-03cc2f65b534" ], "pending": [], "skipped": [], "duration": 38316, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "4b3957e4-47ba-4845-9d48-2d9d43b12ada", "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": "1146a067-3db1-4540-b476-eb231ee4c0e9", "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": 37861, "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: `[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 Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/83Create_And_Allocate_Balance_Eq_Outstanding.spec.js:125:8)", "diff": null }, "uuid": "4bd42f7f-c60a-4536-9238-948c51d5bd46", "parentUUID": "1146a067-3db1-4540-b476-eb231ee4c0e9", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "4bd42f7f-c60a-4536-9238-948c51d5bd46" ], "pending": [], "skipped": [], "duration": 37861, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "46ac1b6f-afef-48cc-abf9-aeaf2f9eb679", "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": "5692187d-e5b8-4c8b-9830-4a59e9981837", "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": 37660, "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: `[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 Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/84Create_And_Allocate_Multiple_Invoices.spec.js:125:8)", "diff": null }, "uuid": "2a5726f3-72d5-427d-a57e-73390278611d", "parentUUID": "5692187d-e5b8-4c8b-9830-4a59e9981837", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "2a5726f3-72d5-427d-a57e-73390278611d" ], "pending": [], "skipped": [], "duration": 37660, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "9add9b6b-07fe-4942-b523-fd915353e932", "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": "21203191-b21d-464b-b1aa-d20bee0e9ea4", "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": 37759, "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: `[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 Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-customer/85Create_And_Dont_Allocate.spec.js:125:8)", "diff": null }, "uuid": "119ebf0f-14af-487c-8bc9-34bb7d7a2a54", "parentUUID": "21203191-b21d-464b-b1aa-d20bee0e9ea4", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "119ebf0f-14af-487c-8bc9-34bb7d7a2a54" ], "pending": [], "skipped": [], "duration": 37759, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "a0049589-1011-4376-879a-fe66a9cb007d", "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": "6c308821-663e-42c9-ba18-deac28a62584", "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": 143236, "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('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('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 div').contains('Termed').then(function (type) {\n expect(type.text()).equal('Termed');\n});", "err": {}, "uuid": "3d41d7f4-da35-4dd4-a475-3cfdf654c9fb", "parentUUID": "6c308821-663e-42c9-ba18-deac28a62584", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "3d41d7f4-da35-4dd4-a475-3cfdf654c9fb" ], "failures": [], "pending": [], "skipped": [], "duration": 143236, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "7a33ea35-6662-4ef4-a9cf-39112314f64b", "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": "b00e6a05-ecd4-4f63-b574-f8c9ba379084", "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": 148170, "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('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('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 div').contains('Evergreen').then(function (type) {\n expect(type.text()).equal('Evergreen');\n});", "err": {}, "uuid": "5401fae1-7052-45f4-bc6d-0047fb118750", "parentUUID": "b00e6a05-ecd4-4f63-b574-f8c9ba379084", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "5401fae1-7052-45f4-bc6d-0047fb118750" ], "failures": [], "pending": [], "skipped": [], "duration": 148170, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "8d703d2e-d6ea-4510-94a2-5a9b4c864f70", "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": "f1a6c6b1-4554-4ad4-9df4-878f58572ae0", "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": 145682, "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('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('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('.badge').eq(2).then(function (type) {\n expect(type.text()).equal('Trial');\n expect(type).to.have[\"class\"]('badge-status-trial');\n});", "err": {}, "uuid": "ca1c2d29-7d11-4e84-b299-8aaddda0137a", "parentUUID": "f1a6c6b1-4554-4ad4-9df4-878f58572ae0", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "ca1c2d29-7d11-4e84-b299-8aaddda0137a" ], "failures": [], "pending": [], "skipped": [], "duration": 145682, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "fead968a-9bb2-46f2-9bd0-77e507eb7033", "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": "d7f864b0-ddab-4641-83b0-69e72b68a5d6", "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": 153935, "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('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('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('Andy Barymore').should('be.visible');", "err": {}, "uuid": "40bc4e3a-1d80-41fe-a4c3-12e499aee638", "parentUUID": "d7f864b0-ddab-4641-83b0-69e72b68a5d6", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "40bc4e3a-1d80-41fe-a4c3-12e499aee638" ], "failures": [], "pending": [], "skipped": [], "duration": 153935, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "12ed0c6b-be4d-4e26-9c48-2031adcee1c4", "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": "d3b2012e-ff01-4f37-9e3e-3376233d4a5f", "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": 133748, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('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(12000);\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').first().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').first().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('.card-header').contains('Active').then(function (type) {\n expect(type.text()).equal('Active');\n });\n }\n });\n });\n});", "err": { "message": "AssertionError: expected '404' to not equal '404'", "estack": "AssertionError: expected '404' to not equal '404'\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-order/05-modify-existing-subs.spec.js:201:46)", "diff": "" }, "uuid": "75f2f776-8950-4905-a9bb-7e9280f92711", "parentUUID": "d3b2012e-ff01-4f37-9e3e-3376233d4a5f", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "75f2f776-8950-4905-a9bb-7e9280f92711" ], "pending": [], "skipped": [], "duration": 133748, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "cc822a95-2719-4a60-a8ec-5ecb4b29ee08", "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": "5d7052c5-b69e-491b-9371-e2b62dc987b0", "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": 237250, "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('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('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": {}, "uuid": "43152371-ef3a-4a82-baaa-d253612e5052", "parentUUID": "5d7052c5-b69e-491b-9371-e2b62dc987b0", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "43152371-ef3a-4a82-baaa-d253612e5052" ], "failures": [], "pending": [], "skipped": [], "duration": 237250, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "d6b0d487-b539-4837-8f89-b4e76d917c17", "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": "12546204-02f0-4bf1-985d-ca436a76158e", "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": 261379, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('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: expected 2 to equal 40", "estack": "AssertionError: expected 2 to equal 40\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-order/07-decrease-quantity.spec.js:311:31)", "diff": "- 2\n+ 40\n" }, "uuid": "0ac49600-eb58-4506-b87b-e0229b6f0e43", "parentUUID": "12546204-02f0-4bf1-985d-ca436a76158e", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "0ac49600-eb58-4506-b87b-e0229b6f0e43" ], "pending": [], "skipped": [], "duration": 261379, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "f8339176-e508-419e-b809-0e7c4e18fd03", "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": "973fb4f6-f228-4dd5-8e67-f9ac37a65aaa", "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": 251727, "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('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('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": {}, "uuid": "dc6b44ff-a4a5-4660-b463-e6e51d08239d", "parentUUID": "973fb4f6-f228-4dd5-8e67-f9ac37a65aaa", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "dc6b44ff-a4a5-4660-b463-e6e51d08239d" ], "failures": [], "pending": [], "skipped": [], "duration": 251727, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "2bf54467-c054-439f-9f60-750195a9c1e3", "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": "31831a2b-8510-43a6-9840-381d2add19f2", "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": 239390, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('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: expected 2 to equal 10", "estack": "AssertionError: expected 2 to equal 10\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-order/09-decrease-price.spec.js:306:31)", "diff": "- 2\n+ 10\n" }, "uuid": "f445077e-6950-4179-877a-f8e0e5d3ee69", "parentUUID": "31831a2b-8510-43a6-9840-381d2add19f2", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "f445077e-6950-4179-877a-f8e0e5d3ee69" ], "pending": [], "skipped": [], "duration": 239390, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "5763d6fb-7da7-4ce9-b31a-f8e1cabf8e27", "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": "0be8e78b-6e6c-40cc-b88f-5e30d62747ef", "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": 287257, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('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: expected 2 to equal 20", "estack": "AssertionError: expected 2 to equal 20\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-order/10-change-plan.spec.js:343:35)", "diff": "- 2\n+ 20\n" }, "uuid": "967ac5dd-4848-44ca-9884-0a92dd932a62", "parentUUID": "0be8e78b-6e6c-40cc-b88f-5e30d62747ef", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "967ac5dd-4848-44ca-9884-0a92dd932a62" ], "pending": [], "skipped": [], "duration": 287257, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "a11a610e-c1f3-40b7-bb10-36b155cb3aa8", "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": "d37898fe-ca5d-4389-a0f7-3210a24c7db5", "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": 270073, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('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: expected 2 to equal 20", "estack": "AssertionError: expected 2 to equal 20\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-order/11-change-product.spec.js:334:33)", "diff": "- 2\n+ 20\n" }, "uuid": "e62b0b23-b693-43e1-ba2c-fe8e48b4a256", "parentUUID": "d37898fe-ca5d-4389-a0f7-3210a24c7db5", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "e62b0b23-b693-43e1-ba2c-fe8e48b4a256" ], "pending": [], "skipped": [], "duration": 270073, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "1c81201c-bb2b-4351-9ea8-f28a14dd57cd", "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": "c567a833-2659-45d8-b00f-557a48413760", "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": 276017, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(5000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('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: expected 102482.63 to equal 2", "estack": "AssertionError: expected 102482.63 to equal 2\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-order/12-add-line-item.spec.js:342:41)", "diff": "- 102482.63\n+ 2\n" }, "uuid": "12c726c9-f8a8-4982-b3fc-7a2f3f1abf91", "parentUUID": "c567a833-2659-45d8-b00f-557a48413760", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "12c726c9-f8a8-4982-b3fc-7a2f3f1abf91" ], "pending": [], "skipped": [], "duration": 276017, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "717761dc-825a-42e0-9832-a6bdacea29f0", "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": "2b1fcb8b-3f2b-4764-8f9b-51efdb8e3441", "title": "Make Payment", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Make payment through Cash", "fullTitle": "Make Payment Make payment through Cash", "timedOut": null, "duration": 68226, "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(4).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(4).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/01Make_Payment_Cash.spec.js:240:8)", "diff": null }, "uuid": "a6e5cbde-fc71-423e-95fa-6e0a7cf35bbd", "parentUUID": "2b1fcb8b-3f2b-4764-8f9b-51efdb8e3441", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "a6e5cbde-fc71-423e-95fa-6e0a7cf35bbd" ], "pending": [], "skipped": [], "duration": 68226, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "6a509470-dffa-4854-979f-5c8b2679fa71", "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": "71e18ac2-49fc-49b0-815b-2ba690884cf5", "title": "Make Payment", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Make payment writeoff", "fullTitle": "Make Payment Make payment writeoff", "timedOut": null, "duration": 67231, "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(4).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(4).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/02Make_Payment_Writeoff.spec.js:240:8)", "diff": null }, "uuid": "7b5da8a9-6282-4b73-b5c3-02b94eae8c6f", "parentUUID": "71e18ac2-49fc-49b0-815b-2ba690884cf5", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "7b5da8a9-6282-4b73-b5c3-02b94eae8c6f" ], "pending": [], "skipped": [], "duration": 67231, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "d56415b7-c822-4ed1-be13-4f24d67dde01", "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": "368f12fd-023e-47cd-83a9-68799ff68dd2", "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": 66932, "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(4).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(4).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/03Make_Payment_BankTransfer.spec.js:241:8)", "diff": null }, "uuid": "19e91539-350e-4cd6-9e8a-01f7dddd1b11", "parentUUID": "368f12fd-023e-47cd-83a9-68799ff68dd2", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "19e91539-350e-4cd6-9e8a-01f7dddd1b11" ], "pending": [], "skipped": [], "duration": 66932, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "f456463f-74b9-48aa-9495-033fa20a4309", "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": "604f0d26-e795-48e8-ad98-285d10eb478b", "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": 67238, "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(4).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(4).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/04Make_Payment_Cheque_Status_Paid.spec.js:242:8)", "diff": null }, "uuid": "02586d22-f9e1-4f43-a386-c218091bf426", "parentUUID": "604f0d26-e795-48e8-ad98-285d10eb478b", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "02586d22-f9e1-4f43-a386-c218091bf426" ], "pending": [], "skipped": [], "duration": 67238, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "2618aef2-0af0-4b60-b24e-efa1605af754", "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": "cf0c24cb-edb6-47b6-b35c-d84f7b7572c5", "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": 67763, "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(parseFloat(transaction1.text()));\n });\n } else {\n makePayment(0);\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/05Make_Payment_Cheque_Status_Approve_Pending.spec.js:220:8)", "diff": null }, "uuid": "87586d5b-d627-4541-b558-f64c37d0fd39", "parentUUID": "cf0c24cb-edb6-47b6-b35c-d84f7b7572c5", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "87586d5b-d627-4541-b558-f64c37d0fd39" ], "pending": [], "skipped": [], "duration": 67763, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "2715b01a-724e-4120-aeda-292ecb0b382c", "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": "765b54de-af4b-4f09-82c6-f20cf47d8bab", "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": 68526, "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(parseFloat(transaction1.text()));\n });\n } else {\n makePayment(0);\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/06Make_Payment_Cheque_Status_Decline_Pending.spec.js:221:8)", "diff": null }, "uuid": "6b8460ed-7fd0-49dd-8a16-01050038ca83", "parentUUID": "765b54de-af4b-4f09-82c6-f20cf47d8bab", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "6b8460ed-7fd0-49dd-8a16-01050038ca83" ], "pending": [], "skipped": [], "duration": 68526, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "0269a726-35cc-4dbe-95b5-9eaaf0e72422", "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": "ac77a8ae-a6d5-4fe1-a293-035c39647610", "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": 68405, "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(4).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(4).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/07Make_Payment_Wire_Status_Paid.spec.js:241:8)", "diff": null }, "uuid": "18f78d3c-7945-4b7b-9b3e-dad12c635654", "parentUUID": "ac77a8ae-a6d5-4fe1-a293-035c39647610", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "18f78d3c-7945-4b7b-9b3e-dad12c635654" ], "pending": [], "skipped": [], "duration": 68405, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "7bae58d7-bb77-47c5-9c83-ede7a0b1998f", "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": "4eecd3c6-314d-47aa-b12b-1443ff743b84", "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": 68008, "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(parseFloat(transaction1.text()));\n });\n } else {\n makePayment(0);\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/08Make_Payment_Wire_Status_Approve_Pending.spec.js:220:8)", "diff": null }, "uuid": "9ec279da-7712-478a-867b-fb92dd83b9c2", "parentUUID": "4eecd3c6-314d-47aa-b12b-1443ff743b84", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "9ec279da-7712-478a-867b-fb92dd83b9c2" ], "pending": [], "skipped": [], "duration": 68008, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "fb679a94-6fbc-4b85-8010-f57dd2e018e6", "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": "a1f598c1-e598-43ab-94b2-3722c0c65c91", "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": 68131, "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(parseFloat(transaction1.text()));\n });\n } else {\n makePayment(0);\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/09Make_Payment_Wire_Status_Decline_Pending.spec.js:221:8)", "diff": null }, "uuid": "a5b08eb4-cc21-407f-91c3-82267702b807", "parentUUID": "a1f598c1-e598-43ab-94b2-3722c0c65c91", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "a5b08eb4-cc21-407f-91c3-82267702b807" ], "pending": [], "skipped": [], "duration": 68131, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "3f42c735-164f-44bc-aad4-b9cba1895f97", "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": "c44284de-f12b-4294-8646-b71eed274c25", "title": "Make Payment", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Make payment through Card", "fullTitle": "Make Payment Make payment through Card", "timedOut": null, "duration": 71712, "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(4).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(4).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/10Make_Payment_Card.spec.js:304:8)", "diff": null }, "uuid": "14e3e77d-183d-4e00-becf-59318f1b4a56", "parentUUID": "c44284de-f12b-4294-8646-b71eed274c25", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "14e3e77d-183d-4e00-becf-59318f1b4a56" ], "pending": [], "skipped": [], "duration": 71712, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "cedd8652-77db-40e9-b07a-c39ff605b3a9", "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": "09034d3f-4f0a-4cee-8b0e-4cec0577b3c1", "title": "Make Payment", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Make payment through eCheck", "fullTitle": "Make Payment Make payment through eCheck", "timedOut": null, "duration": 144538, "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(4).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(4).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n }\n});", "err": { "message": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#account_code_select option`, but never found it.\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/11Make_Payment_eCheck.spec.js:305:8)", "diff": null }, "uuid": "9c359ec1-5035-4e26-8a02-fde63c96ebcd", "parentUUID": "09034d3f-4f0a-4cee-8b0e-4cec0577b3c1", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "9c359ec1-5035-4e26-8a02-fde63c96ebcd" ], "pending": [], "skipped": [], "duration": 144538, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "07a2910b-9b76-4d06-9149-28bb4f2453b8", "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": "6aef6ba4-0199-4daf-bfdb-4ce6ef007b85", "title": "Make Payment", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Make payment through PayPal", "fullTitle": "Make Payment Make payment through PayPal", "timedOut": null, "duration": 69829, "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});\nmakePayment();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Transaction_Invoice tbody a span').eq(0).click({\n force: true\n});\ncy.get('.card-header .badge').should('have.class', 'badge-status-pending');", "err": { "message": "CypressError: Timed out retrying: `cy.select()` failed because it could not find a single `<option>` with value or text matching: `PayPal`\n\nhttps://on.cypress.io/select", "estack": "CypressError: Timed out retrying: `cy.select()` failed because it could not find a single `<option>` with value or text matching: `PayPal`\n\nhttps://on.cypress.io/select\n at getOptions (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:153160:21)\n at tryCatcher (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Function.Promise.attempt.Promise.try (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:7858:29)\n at retryOptions (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:153198:27)\n at tryCatcher (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Function.Promise.attempt.Promise.try (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:7858:29)\n at tryFn (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:165607:21)\n at whenStable (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:165645:12)\n at https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:165140:16\n at tryCatcher (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8701:18)\n at Promise._fulfill (https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:8645:18)\n at https://test.subscriptionflow.com/__cypress/runner/cypress_runner.js:10259:46\nFrom Your Spec Code:\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/12Make_Payment_PayPal.spec.js:214:35)", "diff": null }, "uuid": "ad7ced2e-059c-42a3-ae77-19d8bf09b762", "parentUUID": "6aef6ba4-0199-4daf-bfdb-4ce6ef007b85", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "ad7ced2e-059c-42a3-ae77-19d8bf09b762" ], "pending": [], "skipped": [], "duration": 69829, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "19db5551-fd3b-403b-9038-1836e5da09fe", "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": "756e608b-7a35-4a8b-bd2b-f6285777d3cc", "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": 81766, "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('[data-target=\"#approve-modal\"]').click({\n force: true\n });\n cy.get('#approve-form button[type=\"submit\"]').click({\n force: true\n });\n cy.wait(7000);\n cy.visit(myUrl);\n cy.get('label.badge').should('have.class', 'badge-status-paid');\n });\n});", "err": { "message": "AssertionError: Timed out retrying: expected '<div#offline-errors.my-2.text-danger>' to be 'visible'\n\nThis element `<div#offline-errors.my-2.text-danger>` is not visible because its parent `<div>` has CSS property: `display: none`", "estack": "AssertionError: Timed out retrying: expected '<div#offline-errors.my-2.text-danger>' to be 'visible'\n\nThis element `<div#offline-errors.my-2.text-danger>` is not visible because its parent `<div>` has CSS property: `display: none`\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/13Public_Checkout_Offline_Approve.spec.js:240:80)", "diff": null }, "uuid": "832a3da5-7ca2-4765-b0ee-81824ea8450e", "parentUUID": "756e608b-7a35-4a8b-bd2b-f6285777d3cc", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "832a3da5-7ca2-4765-b0ee-81824ea8450e" ], "pending": [], "skipped": [], "duration": 81766, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "265a22e1-12cd-4fe5-b6ef-a638068c3656", "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": "e7329716-bc4e-4893-acae-27d373290acc", "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": 83134, "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('a[data-target=\"#decline-modal\"]').click({\n force: true\n });\n cy.get('#decline-form textarea').type('Some reason');\n cy.get('#decline-form button[type=\"submit\"]').click({\n force: true\n });\n cy.visit(myUrl);\n cy.get('label.badge').should('not.have.class', 'badge-status-paid');\n });\n});", "err": { "message": "AssertionError: Timed out retrying: expected '<div#offline-errors.my-2.text-danger>' to be 'visible'\n\nThis element `<div#offline-errors.my-2.text-danger>` is not visible because its parent `<div>` has CSS property: `display: none`", "estack": "AssertionError: Timed out retrying: expected '<div#offline-errors.my-2.text-danger>' to be 'visible'\n\nThis element `<div#offline-errors.my-2.text-danger>` is not visible because its parent `<div>` has CSS property: `display: none`\n at Context.eval (https://test.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-invoices/14Public_Checkout_Offline_Decline.spec.js:240:80)", "diff": null }, "uuid": "057f426a-9c00-4342-be7e-f80b3850db07", "parentUUID": "e7329716-bc4e-4893-acae-27d373290acc", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "057f426a-9c00-4342-be7e-f80b3850db07" ], "pending": [], "skipped": [], "duration": 83134, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "9a23d8a7-6ec7-4c57-b531-a54a58c9a425", "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": "72d0c075-d1c7-4a06-bd87-a6892cddae7a", "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": 167046, "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": "b9195808-aa77-497c-84fb-455734b6ffe9", "parentUUID": "72d0c075-d1c7-4a06-bd87-a6892cddae7a", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "b9195808-aa77-497c-84fb-455734b6ffe9" ], "failures": [], "pending": [], "skipped": [], "duration": 167046, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "ce084ce2-4afc-4378-aa69-bdbcd43119b7", "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": "44f6f477-84dd-4a1a-b457-410f0250960b", "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": 174901, "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": "f6a5be48-556a-4ac8-aaa8-afdf379a3406", "parentUUID": "44f6f477-84dd-4a1a-b457-410f0250960b", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "f6a5be48-556a-4ac8-aaa8-afdf379a3406" ], "failures": [], "pending": [], "skipped": [], "duration": 174901, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "2019fc1b-9149-4dd9-8f7f-7748486f2748", "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": "75b374b3-da38-4e69-aae6-2d060637b99e", "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": 195053, "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('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": {}, "uuid": "f9e94efc-ac17-4e78-8db6-11fc969cfb6f", "parentUUID": "75b374b3-da38-4e69-aae6-2d060637b99e", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "f9e94efc-ac17-4e78-8db6-11fc969cfb6f" ], "failures": [], "pending": [], "skipped": [], "duration": 195053, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "2fbbdca7-5a90-4e16-ba0f-dfffbfff3daa", "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": "c66c5998-c154-4482-8964-1cdb44828d29", "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": 77827, "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: `#sc_pcp-chk-payment_paypalexpress-tab`, but never found it.", "estack": "AssertionError: Timed out retrying: Expected to find element: `#sc_pcp-chk-payment_paypalexpress-tab`, 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:246:8)", "diff": null }, "uuid": "ce1d0999-94d7-4f9c-821e-f66fbdfd08fd", "parentUUID": "c66c5998-c154-4482-8964-1cdb44828d29", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "ce1d0999-94d7-4f9c-821e-f66fbdfd08fd" ], "pending": [], "skipped": [], "duration": 77827, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "2484d166-382e-4daa-b8f7-5abc05b464bf", "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": "a45ade34-1a17-4065-8d85-49c847657909", "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": 147179, "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": "0a0fbf38-8dae-41f8-98f3-7a0527ec7a62", "parentUUID": "a45ade34-1a17-4065-8d85-49c847657909", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "0a0fbf38-8dae-41f8-98f3-7a0527ec7a62" ], "failures": [], "pending": [], "skipped": [], "duration": 147179, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "ff4cd085-9e99-4f1d-b81b-30d9e6cae28a", "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": "234c3302-f5ed-4b5b-9ef4-da433211af3f", "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": 149279, "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": "c90044bb-8a9b-446f-89e8-198a2eb7f7ec", "parentUUID": "234c3302-f5ed-4b5b-9ef4-da433211af3f", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "c90044bb-8a9b-446f-89e8-198a2eb7f7ec" ], "failures": [], "pending": [], "skipped": [], "duration": 149279, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "e27a036b-39f7-4384-bced-9288bc48a19d", "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": "8ffa4245-836b-4233-9a2c-a6e0df6caff7", "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": 126145, "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('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": {}, "uuid": "0b4c77f2-c591-4321-bfb7-e9e674b639aa", "parentUUID": "8ffa4245-836b-4233-9a2c-a6e0df6caff7", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "0b4c77f2-c591-4321-bfb7-e9e674b639aa" ], "failures": [], "pending": [], "skipped": [], "duration": 126145, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "c414de66-16e7-4693-a1ea-35e9948bbf38", "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": "9ed0fa26-c995-42f1-bcfe-30fa75f42956", "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": 224710, "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('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": {}, "uuid": "439c806b-871a-45f3-af43-d9c60eaa2432", "parentUUID": "9ed0fa26-c995-42f1-bcfe-30fa75f42956", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "439c806b-871a-45f3-af43-d9c60eaa2432" ], "failures": [], "pending": [], "skipped": [], "duration": 224710, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "2a111bc8-640d-4845-b968-265924a00dbe", "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": "9b3f38f5-5c23-4664-a428-346a5bdba805", "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": 169832, "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": "9f912fed-08ff-4883-8a57-ddf24590975e", "parentUUID": "9b3f38f5-5c23-4664-a428-346a5bdba805", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "9f912fed-08ff-4883-8a57-ddf24590975e" ], "failures": [], "pending": [], "skipped": [], "duration": 169832, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "059f847a-d1f0-4035-b2c1-738b0b6bb93f", "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": "85158c03-d2bd-48ee-8e16-6b102bf1a4a2", "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": 86998, "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": "a6647d5a-aa12-414e-ab76-313cb7fbc68e", "parentUUID": "85158c03-d2bd-48ee-8e16-6b102bf1a4a2", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "a6647d5a-aa12-414e-ab76-313cb7fbc68e" ], "failures": [], "pending": [], "skipped": [], "duration": 86998, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "32710e4f-1463-4662-b886-0d1e4a569096", "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": "08fc08c3-2399-4cde-b50a-b01376b8d4a4", "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": 88210, "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": "eb03ec29-a210-4ecb-98d3-3fd2c3551c99", "parentUUID": "08fc08c3-2399-4cde-b50a-b01376b8d4a4", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "eb03ec29-a210-4ecb-98d3-3fd2c3551c99" ], "failures": [], "pending": [], "skipped": [], "duration": 88210, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "accb45b7-29f9-4cd3-acf2-e9891ab669ea", "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": "5c91b86a-1ddd-45ee-b6b9-1052126827ca", "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": 178384, "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": "bc5f70f6-1c9b-4ece-a1da-0733bac81944", "parentUUID": "5c91b86a-1ddd-45ee-b6b9-1052126827ca", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "bc5f70f6-1c9b-4ece-a1da-0733bac81944" ], "failures": [], "pending": [], "skipped": [], "duration": 178384, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "bdfe6fa7-f6a2-40a8-9fd5-4b192a6a2f49", "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": "b417dc1f-ed96-49d7-a141-f2a6b9d5f75d", "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": 89130, "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": "a1d5ea76-a1ed-486b-9184-47948f2e8fea", "parentUUID": "b417dc1f-ed96-49d7-a141-f2a6b9d5f75d", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "a1d5ea76-a1ed-486b-9184-47948f2e8fea" ], "failures": [], "pending": [], "skipped": [], "duration": 89130, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "753ec320-082d-4d50-b8a5-3e27b0e0f9cb", "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": "2b7076b0-9b3d-4d48-a2ce-b13fddf9600f", "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": 88664, "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": "d29f85c9-56e1-4747-8e67-fe231d760470", "parentUUID": "2b7076b0-9b3d-4d48-a2ce-b13fddf9600f", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "d29f85c9-56e1-4747-8e67-fe231d760470" ], "failures": [], "pending": [], "skipped": [], "duration": 88664, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "858ed1e9-969c-4730-bd97-a26e87dc8aa9", "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": "cd80a4dc-826b-422c-9f1a-6979c743eaea", "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": 168727, "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": "cc615712-86b2-48b3-bd3c-11f7677fbeb4", "parentUUID": "cd80a4dc-826b-422c-9f1a-6979c743eaea", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "cc615712-86b2-48b3-bd3c-11f7677fbeb4" ], "failures": [], "pending": [], "skipped": [], "duration": 168727, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "82acb119-d84f-4463-99dc-e463ca805255", "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": "2e83e79a-4674-47db-a357-bfcc5d3d8b34", "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": 88044, "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": "a2da4b45-9d7d-43fb-83d1-7a2881977f4b", "parentUUID": "2e83e79a-4674-47db-a357-bfcc5d3d8b34", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "a2da4b45-9d7d-43fb-83d1-7a2881977f4b" ], "failures": [], "pending": [], "skipped": [], "duration": 88044, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 }, { "uuid": "18d32d96-2a7e-47ac-b237-aeeb4bd06c9c", "title": "", "fullFile": "cypress/integration/SF/z-logout/logout_spec.js", "file": "cypress/integration/SF/z-logout/logout_spec.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "fdd036cb-32cd-484b-8e2c-d15bbc1e1464", "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": 12801, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.visit(\"\");\ncy.check();", "err": {}, "uuid": "43328402-6f77-4133-b3ed-da9ced2a7387", "parentUUID": "fdd036cb-32cd-484b-8e2c-d15bbc1e1464", "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": 160, "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": "562af4e3-44ec-4cf1-9990-a6f7682d9dbb", "parentUUID": "fdd036cb-32cd-484b-8e2c-d15bbc1e1464", "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": 2751, "state": "passed", "speed": "slow", "pass": true, "fail": false, "pending": false, "context": null, "code": "cy.get('.text-danger').click({\n force: true\n});\ncy.location('pathname').should('include', 'login');", "err": {}, "uuid": "61cdff2d-6915-4f94-8eaf-b5e8c6a5ae64", "parentUUID": "fdd036cb-32cd-484b-8e2c-d15bbc1e1464", "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": 1644, "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": "b570fd16-f5a1-4877-9fe4-307a1a1bfd1a", "parentUUID": "fdd036cb-32cd-484b-8e2c-d15bbc1e1464", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "43328402-6f77-4133-b3ed-da9ced2a7387", "562af4e3-44ec-4cf1-9990-a6f7682d9dbb", "61cdff2d-6915-4f94-8eaf-b5e8c6a5ae64", "b570fd16-f5a1-4877-9fe4-307a1a1bfd1a" ], "failures": [], "pending": [], "skipped": [], "duration": 17356, "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" } } }