brave-doctor-62978
01/06/2023, 6:00 PMgray-kilobyte-89541
01/06/2023, 6:02 PMbrave-doctor-62978
01/06/2023, 6:05 PMbrave-doctor-62978
01/06/2023, 6:08 PMkind-photographer-81911
01/06/2023, 8:48 PMcy.request({url: '/company/n/sign-in', followRedirect: false})
.then((resp) => {
expect(resp.status).to.eq(200)
});
kind-photographer-81911
01/06/2023, 9:04 PMrich-eye-60315
01/06/2023, 9:39 PMpurple-ice-75399
01/06/2023, 9:42 PMrich-eye-60315
01/07/2023, 5:38 AMrich-eye-60315
01/07/2023, 5:38 AMpurple-afternoon-2408
01/07/2023, 9:22 AMgray-kilobyte-89541
01/07/2023, 2:43 PMcypress run --record --parallel
orange-dusk-15826
01/07/2023, 3:18 PMplain-mechanic-5738
01/07/2023, 3:56 PMsteep-house-78657
01/07/2023, 10:42 PMenough-scientist-4031
01/08/2023, 9:21 AMbillions-king-35651
01/08/2023, 5:29 PMlog⚠️ Code coverage tasks were not registered by the plugins file. See support issue for possible workarounds. [@cypress/code-coverage]
If I run nyc cypress open, the tests are not even running.
I am using NextJs. Any help to get the code coverage to work will be appreciated.
Thankslemon-oxygen-25956
01/08/2023, 6:49 PMcalm-gigabyte-78371
01/09/2023, 12:40 AMcalm-gigabyte-78371
01/09/2023, 12:40 AMhundreds-spoon-43121
01/09/2023, 12:54 AMhundreds-spoon-43121
01/09/2023, 12:54 AMcy.session(
'visitor',
() => {
cy.origin(
'https://www.zopim.com',
{ args: { message, isMessagingEnabled } },
({ message, isMessagingEnabled }) => {
cy.visit('/landing/simulatev2', {
qs: {
id: Cypress.env('ZENDESK_URL').replace('https://', ''),
ww: true,
lang: 'en',
fallbackAccountKey: Cypress.env('ZENDESK_CHAT_ACCOUNT_KEY'),
},
avoidLogin: true,
});
cy.getIframe('iframe[id="launcher"]')
.find('[data-testid="launcher"]')
.should('be.visible')
.trigger('mouseover')
.click()
.getIframe('iframe[id="webWidget"]')
.should('be.visible');
if (message) {
cy.getIframe('iframe[id="webWidget"]')
.find('[data-testid="message-field"]')
.type(`${message}{enter}`)
.getIframe('iframe[id="webWidget"]')
.find('[data-testid="chat-log"]')
.contains('Chat started')
.should('be.visible');
}
}
// }
);
},
hundreds-spoon-43121
01/09/2023, 12:54 AM{
validate() {
cy.origin(
'https://www.zopim.com',
{ args: { message, isMessagingEnabled } },
({ message, isMessagingEnabled }) => {
cy.visit('/landing/simulatev2', {
qs: {
id: Cypress.env('ZENDESK_URL').replace('https://', ''),
ww: true,
lang: 'en',
fallbackAccountKey: Cypress.env('ZENDESK_CHAT_ACCOUNT_KEY'),
},
avoidLogin: true,
});
// if (!isMessagingEnabled && message) {
cy.getIframe('iframe[id="launcher"]')
.find('[data-testid="launcher"]')
.should('be.visible')
.trigger('mouseover')
.click()
.getIframe('iframe[id="webWidget"]')
.should('be.visible')
.getIframe('iframe[id="webWidget"]')
.find('[data-testid="chat-log"]')
.contains('Chat started')
.should('be.visible');
// }
}
);
},
}
);
hundreds-spoon-43121
01/09/2023, 12:55 AMbitter-fountain-36713
01/09/2023, 4:03 AMtest
calm-gigabyte-78371
01/09/2023, 4:11 AMcalm-gigabyte-78371
01/09/2023, 4:11 AMcalm-gigabyte-78371
01/09/2023, 4:11 AMbitter-apple-86316
01/09/2023, 5:29 AMbitter-apple-86316
01/09/2023, 5:30 AM