refined-monkey-52031
04/29/2021, 8:20 PMbulky-sundown-74498
04/29/2021, 8:20 PMbulky-sundown-74498
04/29/2021, 8:20 PMrefined-monkey-52031
04/29/2021, 8:21 PMrefined-monkey-52031
04/29/2021, 8:22 PMbulky-sundown-74498
04/29/2021, 8:22 PMrefined-monkey-52031
04/29/2021, 8:23 PMbulky-sundown-74498
04/29/2021, 8:23 PMbreezy-australia-64868
04/29/2021, 9:32 PMnpx cypress run
they fail and it's due to my stylesheets I'm loading in the support file. Any idea what the fix is? I created a fresh project with cypress and just referenced a stylesheet, and the same issue. Thanks!
Oops...we found an error preparing this test file:
tests/support/index.js
The error was:
Error: Webpack Compilation Error
./node_modules/buefy/dist/buefy.css 2:0
Module parse failed: Unexpected character '@' (2:0)
You may need an appropriate loader to handle this file type...
bulky-sundown-74498
04/29/2021, 9:35 PMbreezy-australia-64868
04/29/2021, 9:35 PMbulky-sundown-74498
04/29/2021, 9:36 PMbreezy-australia-64868
04/29/2021, 9:39 PMpurple-alarm-62049
04/30/2021, 6:05 PMcy.window()
.should('have.property', ANIMATION_GLOBAL)
.then((animations) => {
cy.log('animations', animations)
callPerLabel(animations, (section, label, value) => {
cy.scrollTo(0, value)
cy.percySnapshot(`${section}: ${label}`)
})
})
future-gold-77198
05/04/2021, 8:40 PMcalm-notebook-16224
05/05/2021, 9:49 AMcanvas
on cypress?
I'm using react Cytoscape and basically when I run my cypress test it would load an empty canvas, nothing would be drawn in it. But if I run cypress in headed mode, then within the cypress chrome browser I open the same URL I'm testing in a new tab, it loads the canvas perfectly.
In my understanding both cases will still use mocks instead of calling the actual APIs (evidently everything in the page is just String
String
etc instead of real data). So does anyone have any ideas why cypress behaves differently? Am I missing a config or something?worried-sunset-85459
05/05/2021, 1:51 PMjs
cy.wait('@Submit').then(interception => {
if (interception.response.statusCode != 200) {
//do something
}
})
and something would happen when I got a 400 error for example, today 05/05 it stops at the "wait" and doesn't do the "then".purple-alarm-62049
05/06/2021, 4:11 PMrequest()
but I'm struggling with cypress async/sync.
> cy.then() failed because you are mixing up async and sync code.
https://gist.github.com/iDVB/4c77f2160bbd6ff35067e6fd7cf647a5
Ideally, I would like the command to return the vid
of the contact. Or fail the expectstocky-dream-36427
05/06/2021, 4:23 PMred-easter-74903
05/07/2021, 6:17 PMred-easter-74903
05/07/2021, 6:20 PMgray-kilobyte-89541
05/07/2021, 7:00 PMred-easter-74903
05/07/2021, 7:11 PMgray-kilobyte-89541
05/07/2021, 7:30 PMstocky-dream-36427
05/07/2021, 9:48 PMuser
05/08/2021, 1:40 PMancient-appointment-66951
05/10/2021, 1:00 AMprehistoric-action-94870
05/10/2021, 8:48 AMit("test", () => {
cy.get('.person-item-template > .name').each(function($personName) {
const peopleNames = $personName.text()
cy.get('.person-item-template > .name').siblings('job-title').each(function($personJobTitle) {
const peopleJobTitles = $personJobTitle.text()
cy.log("Person found: " + peopleNames + ". Job Title: " + peopleJobTitles)
})
})
})
I'm expecting 20 peopleNames
and 20 peopleJobTitles
but I'm actually getting 120 returns in the Cypress logprehistoric-action-94870
05/10/2021, 8:50 AMstocky-dream-36427
05/10/2021, 5:28 PM