bulky-sundown-74498
06/08/2021, 5:07 PMbulky-sundown-74498
06/08/2021, 5:07 PMbulky-sundown-74498
06/08/2021, 5:08 PMlimited-keyboard-75773
06/08/2021, 5:09 PMlimited-keyboard-75773
06/08/2021, 5:11 PMexec using child_process but after passing the tests I get TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined probably I will need to ask in a node.js communitybulky-sundown-74498
06/08/2021, 5:13 PMbulky-sundown-74498
06/08/2021, 5:13 PMlimited-keyboard-75773
06/08/2021, 5:14 PMexeca if I cannot make to work natively with Node.js. Then, I can discuss it in the code review. Thanks for the help Bart!bulky-sundown-74498
06/08/2021, 5:15 PMacoustic-postman-68669
06/08/2021, 5:22 PMacoustic-postman-68669
06/08/2021, 5:24 PMdescribe('Test TYPO3 Backend', () => {
it('Should show login', () => {
cy.wait(1000)
cy.visit('https://tld.de/typo3/')
cy.wait(1000)
cy.get('#t3-username')
})
})bulky-sundown-74498
06/08/2021, 5:26 PMbulky-sundown-74498
06/08/2021, 5:27 PMbulky-sundown-74498
06/08/2021, 5:28 PMparent.execCb.InfoWindow and only protects the existence of parent then you will have this kind of issuesbulky-sundown-74498
06/08/2021, 5:29 PMbulky-sundown-74498
06/08/2021, 5:29 PMbulky-sundown-74498
06/08/2021, 5:32 PMacoustic-postman-68669
06/08/2021, 5:32 PMacoustic-postman-68669
06/08/2021, 5:33 PMwooden-advantage-64510
06/09/2021, 2:00 PMcypress-image-snapshot which works fine as screenshots are created and diff'd as intended. But I'm running into an issue where the screenshots dimensions are different per machine, specifically our CI. Certain screenshots match, but other times it's 1 - 20 pixels in width different.
So does anyone know why bounding boxes be so drastically different on various machines? I've verified that all CSS styling is indeed loaded as intended so it cant cause any layout differences.red-easter-74903
06/09/2021, 4:28 PMquick-gpu-68223
06/11/2021, 3:06 AMcy.window().then(win => {
const url = cy.stub(win.location, 'assign')
use url
})
it says assign can't be re assignquick-gpu-68223
06/11/2021, 3:07 AMquick-gpu-68223
06/11/2021, 2:38 PMquick-gpu-68223
06/11/2021, 3:05 PMquick-gpu-68223
06/11/2021, 3:05 PMlimited-keyboard-75773
06/11/2021, 7:50 PMbeforeEach & afterEach hooks?
Description:
I'm currently using the cypress-localstorage-commands plugin: https://www.npmjs.com/package/cypress-localstorage-commands like so:
beforeEach(() => {
cy.restoreLocalStorage();
});
afterEach(() => {
cy.saveLocalStorage();
});
Is there a way to abstract this into a custom command so I don't need to add these hooks or reuse this code in each spec file?bulky-sundown-74498
06/11/2021, 9:06 PMsupport/index.jsbulky-sundown-74498
06/11/2021, 9:07 PM