Get help with testing, discuss unit testing strategies etc.


Post by rchloupe »

I'm getting "TypeError: Permission denied" in IE 10 when running a test that does a PageLoad using Siesta 3.0.1. It works in Siesta 2.1.2.
When I uncomment the Recorder tests in your index.js file and run 008_page_refresh.t.js I get the same error.

Post by nickolay »

Hello,

Do you use "separateContext" option?

Post by rchloupe »

Yeah:
{
	separateContext: true,
	url: me.workspacePackages + 'Language_t.js'
}

Post by nickolay »

Can you find the exact line that throws exception? You can use IE10 debugger for that.

Post by rchloupe »

It seems to be when I try to "click" on anything after the page has refreshed.
	{ waitForElementTop: '>> login' },
	{ click: '#languageCycle => .x-btn-split-right', offset: ['100%-5', '50%'] },
	{ waitForComponentVisible: '#langTypeMenu' },
	{ waitFor: 'PageLoad', trigger: {click: '>> #langTypeMenu #' + locale} }, // Causes page reload
	{ waitForElementTop: '>> login' },

	// Clicking on anything now results in the error, but typing seems to be working.
	//{ click: '#languageCycle => .x-btn-split-right', offset: ['100%-5', '50%'] }, // breaks

Post by nickolay »

Does the page remain on the same domain after refresh (including protocol)?

Post by rchloupe »

Yes, it stays the same. We're reloading the same application with a different language by adding request_locale to the url.
https://localhost:8080/goToLogin.action?&device=desktop#Application/onReady
https://localhost:8080/goToLogin.action?&device=desktop&request_locale=es#Application/onReady
https://localhost:8080/goToLogin.action?&device=desktop&request_locale=en#Application/onReady

Post by nickolay »

Fixed in the sources, thanks for the report! It was a 3.0.0 regression indeed. Please verify in the next nightly build.

Post by rchloupe »

Thank you for such a fast response, let along fix, working again as of siesta-2015-04-25-standard!
Truly appreciate your hard work and product.

Post by aparks »

Is the fix for this in 3.0.2, or is it still pending a future release?

It is not listed under the Known Issues list, nor Bug Fixes.

Post Reply