Quantcast
Viewing all articles
Browse latest Browse all 4829

Need Guidance with ember and puppeteer

@HuckleberrryCarignan wrote:

Hi, I’m a QE attempting to apply a cucumberjs / puppeteer solution. I’m very green when it comes to ember. I can’t seem to page.click on an ember computed properties:

			<p class="ao-label" data-test-upload="true">Drag and Drop Files or 
				{{#file-upload 
					name="transactions"
					class="ao-file-uploader__file"
					multiple=false
					onfileadd=(action "validateFile")
					accept=allowFileTypeString 
				}}
					<a class="ao-button ao-button--link">Click to Browse</a>
				{{/file-upload}}
			</p>

but when i attempt to click on the element:

await   this.page.click('[data-test-upload="true"]');

Cucumber.js complains that the selector can’t be found. Does anyone know how I can create element selectors for ember computed properties so that puppeteer can select it with a page.click? please?

Desperately yours, Huckleberry

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4829

Trending Articles