Comments (4)
Hi Christophe,
I did not manage to reproduce it. Please refer to my sample project in the attachment. Would you please modify it or send us your project where we can see this issue?
vue-test.zip
My test code:
import VueSelector from 'testcafe-vue-selectors';
fixture(' vue named slot test')
.page('http://localhost:8080/');
test('My first test', async t => {
const pageVue= await VueSelector('PageTemplate').getVue();
const membersVue= await VueSelector('HelloWorld').getVue();
await t.expect(membersVue.props.msg).eql('Welcome to Your Vue.js + TypeScript App');
});
from testcafe-vue-selectors.
Hi Sergey,
Thanks for your reply. I need to investigate. We are using async dynamic components: https://vuejs.org/v2/guide/components-dynamic-async.html#Async-Components. Do you think it is a possible explanation ?
from testcafe-vue-selectors.
Hello @cnouguier ,
Do you think it is a possible explanation ?
To give you a precise answer, we need to check a simple working example in which we can reproduce the problem.
from testcafe-vue-selectors.
Hi,
Sorry for my late reply. I tested and it works with async dynamic components.
Don't know what happens on my case. For now I suggest to close the issue.
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
- 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.