@Ali_Hassan wrote:
i have no experience with web development , but recently i had started develop my website using emberJs framework . Now the issue is that queryselectionAll generate an error when i write this code [list-scalatutorials-testJs] test(‘List of Programming Tutorials’, async function(assert){ await visit(’/’); assert.equal(this.element.querySelectionAll(’.listing’).length, ‘Tutorials Display’); }); it works but results are not display … Error received failed@ 284 ms Expected: “Display listing” Result: 36 Diff: "Display listing"36 Source: at Object. (http://localhost:7357/assets/tests.js:14:14) [tutorials.hbs] {{#each model as |tutorial|}}
{{tutorial.no}}
Name:{{tutorial.name}}{{/each}}Kindly Help me
Posts: 1
Participants: 1