Comments (5)
It seems to me that it might be a good idea to just directly use some of the vue-devtools
methods to do the work of finding nodes. I'm comparing their code to this plugin's and it seems that could be causing some of these problems.
from testcafe-vue-selectors.
I feel that I could help in solving some of these bugs, but you'll have to help me understand how to work with and debug a testcafe plugin.
I've copied the index.js
of this plugin to my directory and made some exploratory changes, but it seems that my console.log
calls and other attempts at actually understanding what's going on inside are being interfered with by the testing framework (or something)
I import the local source code into my fixture file
import { Selector } from 'testcafe'
// import VueSelector from 'testcafe-vue-selectors'
import VueSelector from './plugin'
fixture('Getting Started')
.page('http://localhost:8080')
// ...
But the code I've added, such as this, isn't output to the console.
// ...
}).addCustomMethods({
getVue: (node, fn) => {
console.log(node)
// ...
How do I go about actually debugging a testcafe selector plugin?
from testcafe-vue-selectors.
And my attempt at using the node debugger didn't work:
node inspect ./node_modules/testcafe -- 'chrome:headless' test/end-to-end/*.spec.js --app 'npm run dev' --app-init-delay 12000
I would love to help solve these problems. It's hard to work with a black box though ha.
from testcafe-vue-selectors.
This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open.
from testcafe-vue-selectors.
We're closing this issue after a prolonged period of inactivity. If it still affects you, please add a comment to this issue with up-to-date information. Thank you.
from testcafe-vue-selectors.
Related Issues (20)
- Support component loaded via vue-router HOT 6
- [FR] Typings HOT 2
- Can't install vue-selectors HOT 1
- Vue cmp state doens't seem to update HOT 1
- `vue-loader`: migrate to `15.x`
- Return ref along with data, props, computed and state on getVue() HOT 2
- Can't get access to global Vue (Nuxt) object, fails with error. HOT 3
- Basic usage- Vue render content not available HOT 5
- Unable to find a Vue componant within a named slot HOT 4
- Select VueComponent by props values HOT 3
- How to get to deeply nested component? HOT 1
- How to get the text of the component q-toolbar-title? HOT 1
- "babel-core" should be included in package HOT 2
- Error "_keys2 is not defined" when calling .getVue() HOT 1
- Selector() failed to access "Row" of v-data-table of Vuetify HOT 3
- .getVue() seems not working HOT 2
- .getVue() causes error HOT 5
- Select VueComponent by key HOT 3
- Searching for nested components HOT 3
- Vue3 compatibility HOT 4
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 testcafe-vue-selectors.