Comments (10)
I've added an additional example here: https://github.com/JaySunSyn/cypress-daywalker/blob/master/example/cypress/integration/example.spec.js#L32
cy.get('#nameField').setProp("TEST"); // sets the value property of vaadin-text-field
or
cy.get('vaadin-text-field input').setProp("TEST"); // sets the value of the native input
Does this work?
If not, could you paste your html?
I need to add clear documentation; Will do that as soon as I find some time...
from cypress-daywalker.
With
cy.get('#nameField').setProp("TEST")
I get 'cannot read property 'store' of undefined.
What if I want to get all the events of typing into the field? Is there a chance that I can do an actual .type() on the input?
from cypress-daywalker.
Is there a way you can share (or isolate) your code?
(I would need to overwrite the type command to make it work, will look into that asap)
from cypress-daywalker.
https://github.com/eiswind/mastering-vaadin-flow-book/tree/cypress
it is in the 04-c module on the cypress branch
from cypress-daywalker.
I didn't run it but try this and let me know pls.
describe('Comic character test', function () {
before(() => {
cy.visit('http://localhost:8080/character')
});
it('Opens the Character form', function () {
cy.get('#nameField').setProp("TEST")
})
})
from cypress-daywalker.
It seems that it cannot load the js file
:8080/node_modules/cypress-daywalker/cypress-daywalker.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
looks more like a cypress issue with java/spring apps then?
but what looks VERY confusing is that i see output from daywalker in the test report.
from cypress-daywalker.
Is :8080/node_modules/
the location of your node_modules?
from cypress-daywalker.
Pls join https://gitter.im/cypress-daywalker/
Might be a better medium to debug
from cypress-daywalker.
Please confirm if this is still the case with version 0.2.1
from cypress-daywalker.
Closing this for now, tests are succeeding consistently now as per https://travis-ci.com/JaySunSyn/cypress-daywalker/builds/.
Feel free to re-open.
from cypress-daywalker.
Related Issues (7)
- .focus(), .click(), etc fail on custom elements HOT 3
- TypeError: Cannot read property 'store' of undefined HOT 18
- Slotted content support HOT 2
- Running example results in incostenties with timeouts and infinite loops HOT 12
- Failed to construct 'HTMLElement': Please use the 'new' operator HOT 1
- includeShadowDom Cypress Configuration Option Question HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cypress-daywalker.