cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-7287) [WKWebView] Failing tests
Date Tue, 01 Dec 2015 19:59:11 GMT

    [ https://issues.apache.org/jira/browse/CB-7287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15034477#comment-15034477
] 

Shazron Abdullah commented on CB-7287:
--------------------------------------

After removing bridge issues as a concern, etc here are the results:

5 Errors:
{code}
AfterAll NETWORK_ERR: NETWORK_ERR: XMLHttpRequest Exception 101 in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/plugins/org.apache.cordova.mobilespec.tests/tests/localXHR.tests.js
(line 47)

AfterAll SecurityError: SecurityError: DOM Exception 18 in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/plugins/org.apache.cordova.mobilespec.tests/tests/storage.tests.js
(line 215)

AfterAll SecurityError: SecurityError: DOM Exception 18 in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/plugins/org.apache.cordova.mobilespec.tests/tests/storage.tests.js
(line 215)

AfterAll SecurityError: SecurityError: DOM Exception 18 in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/plugins/org.apache.cordova.mobilespec.tests/tests/storage.tests.js
(line 215)

AfterAll SecurityError: SecurityError: DOM Exception 18 in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/plugins/org.apache.cordova.mobilespec.tests/tests/storage.tests.js
(line 215)
{code}

17 Failures:
{code}
<?xml version="1.0"?>
<div class="failures">
	<div class="spec-detail failed">
		<div class="description">
			<a title="org.apache.cordova.mobilespec.tests.localXHR.tests &gt;&gt; XMLHttpRequest
XMLHttpRequest.spec.4 should be able to load the parent folder page ../index.html" href="?spec=org.apache.cordova.mobilespec.tests.localXHR.tests
&gt;&gt; XMLHttpRequest XMLHttpRequest.spec.4 should be able to load the parent folder
page ../index.html">org.apache.cordova.mobilespec.tests.localXHR.tests &gt;&gt;
XMLHttpRequest XMLHttpRequest.spec.4 should be able to load the parent folder page ../index.html</a>
		</div>
		<div class="messages">
			<div class="result-message">Expected spy onError not to have been called.</div>
		</div>
	</div>
	<div class="spec-detail failed">
		<div class="description">
			<a title="org.apache.cordova.mobilespec.tests.storage.tests &gt;&gt; Session
Storage HTML 5 Storage HTML 5 Storage storage.spec.18 Should be able to create and drop tables"
href="?spec=org.apache.cordova.mobilespec.tests.storage.tests &gt;&gt; Session Storage
HTML 5 Storage HTML 5 Storage storage.spec.18 Should be able to create and drop tables">org.apache.cordova.mobilespec.tests.storage.tests
&gt;&gt; Session Storage HTML 5 Storage HTML 5 Storage storage.spec.18 Should be able
to create and drop tables</a>
		</div>
		<div class="messages">
			<div class="result-message">SecurityError: SecurityError: DOM Exception 18 in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/plugins/org.apache.cordova.mobilespec.tests/tests/storage.tests.js
(line 215)</div>
			<div class="result-message">SecurityError: SecurityError: DOM Exception 18 in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/plugins/org.apache.cordova.mobilespec.tests/tests/storage.tests.js
(line 215)</div>
			<div class="result-message">Error: Timeout - Async callback was not invoked within
timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js
(line 1764)</div>
		</div>
	</div>
	<div class="spec-detail failed">
		<div class="description">
			<a title="cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
download filetransfer.spec.4 should download a file" href="?spec=cordova-plugin-file-transfer-tests.tests
&gt;&gt; FileTransfer methods download filetransfer.spec.4 should download a file">cordova-plugin-file-transfer-tests.tests
&gt;&gt; FileTransfer methods download filetransfer.spec.4 should download a file</a>
		</div>
		<div class="messages">
			<div class="result-message">Error: Timeout - Async callback was not invoked within
timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js
(line 1764)</div>
			<div class="result-message">Expected spy httpFail not to have been called.</div>
		</div>
	</div>
	<div class="spec-detail failed">
		<div class="description">
			<a title="cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
download filetransfer.spec.5 should download a file using http basic auth" href="?spec=cordova-plugin-file-transfer-tests.tests
&gt;&gt; FileTransfer methods download filetransfer.spec.5 should download a file
using http basic auth">cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer
methods download filetransfer.spec.5 should download a file using http basic auth</a>
		</div>
		<div class="messages">
			<div class="result-message">Error: Timeout - Async callback was not invoked within
timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js
(line 1764)</div>
			<div class="result-message">Expected spy httpFail not to have been called.</div>
		</div>
	</div>
	<div class="spec-detail failed">
		<div class="description">
			<a title="cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
download filetransfer.spec.6 should get 401 status on http basic auth failure" href="?spec=cordova-plugin-file-transfer-tests.tests
&gt;&gt; FileTransfer methods download filetransfer.spec.6 should get 401 status on
http basic auth failure">cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer
methods download filetransfer.spec.6 should get 401 status on http basic auth failure</a>
		</div>
		<div class="messages">
			<div class="result-message">Expected null to be 401.</div>
		</div>
	</div>
	<div class="spec-detail failed">
		<div class="description">
			<a title="cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
download filetransfer.spec.12 should get http status on failure" href="?spec=cordova-plugin-file-transfer-tests.tests
&gt;&gt; FileTransfer methods download filetransfer.spec.12 should get http status
on failure">cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
download filetransfer.spec.12 should get http status on failure</a>
		</div>
		<div class="messages">
			<div class="result-message">Expected null to be 404.</div>
			<div class="result-message">Expected 3 to be 1.</div>
		</div>
	</div>
	<div class="spec-detail failed">
		<div class="description">
			<a title="cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
download filetransfer.spec.13 should get http body on failure" href="?spec=cordova-plugin-file-transfer-tests.tests
&gt;&gt; FileTransfer methods download filetransfer.spec.13 should get http body on
failure">cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
download filetransfer.spec.13 should get http body on failure</a>
		</div>
		<div class="messages">
			<div class="result-message">Expected null to be 404.</div>
			<div class="result-message">Expected null to match 'You requested a 404'.</div>
		</div>
	</div>
	<div class="spec-detail failed">
		<div class="description">
			<a title="cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
download filetransfer.spec.30 downloaded file entries should have a toNativeURL method" href="?spec=cordova-plugin-file-transfer-tests.tests
&gt;&gt; FileTransfer methods download filetransfer.spec.30 downloaded file entries
should have a toNativeURL method">cordova-plugin-file-transfer-tests.tests &gt;&gt;
FileTransfer methods download filetransfer.spec.30 downloaded file entries should have a toNativeURL
method</a>
		</div>
		<div class="messages">
			<div class="result-message">Error: Timeout - Async callback was not invoked within
timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js
(line 1764)</div>
			<div class="result-message">Expected spy httpFail not to have been called.</div>
		</div>
	</div>
	<div class="spec-detail failed">
		<div class="description">
			<a title="cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
download filetransfer.spec.28 (compatibility) should be able to download a file using local
paths" href="?spec=cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer
methods download filetransfer.spec.28 (compatibility) should be able to download a file using
local paths">cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
download filetransfer.spec.28 (compatibility) should be able to download a file using local
paths</a>
		</div>
		<div class="messages">
			<div class="result-message">Error: Timeout - Async callback was not invoked within
timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js
(line 1764)</div>
			<div class="result-message">Expected spy httpFail not to have been called.</div>
		</div>
	</div>
	<div class="spec-detail failed">
		<div class="description">
			<a title="cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
upload filetransfer.spec.18 should be able to upload a file" href="?spec=cordova-plugin-file-transfer-tests.tests
&gt;&gt; FileTransfer methods upload filetransfer.spec.18 should be able to upload
a file">cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
upload filetransfer.spec.18 should be able to upload a file</a>
		</div>
		<div class="messages">
			<div class="result-message">Error: Timeout - Async callback was not invoked within
timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js
(line 1764)</div>
			<div class="result-message">Expected spy httpFail not to have been called.</div>
		</div>
	</div>
	<div class="spec-detail failed">
		<div class="description">
			<a title="cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
upload filetransfer.spec.19 should be able to upload a file with http basic auth" href="?spec=cordova-plugin-file-transfer-tests.tests
&gt;&gt; FileTransfer methods upload filetransfer.spec.19 should be able to upload
a file with http basic auth">cordova-plugin-file-transfer-tests.tests &gt;&gt;
FileTransfer methods upload filetransfer.spec.19 should be able to upload a file with http
basic auth</a>
		</div>
		<div class="messages">
			<div class="result-message">Error: Timeout - Async callback was not invoked within
timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js
(line 1764)</div>
			<div class="result-message">Expected spy httpFail not to have been called.</div>
		</div>
	</div>
	<div class="spec-detail failed">
		<div class="description">
			<a title="cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
upload filetransfer.spec.21 should be stopped by abort() right away" href="?spec=cordova-plugin-file-transfer-tests.tests
&gt;&gt; FileTransfer methods upload filetransfer.spec.21 should be stopped by abort()
right away">cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
upload filetransfer.spec.21 should be stopped by abort() right away</a>
		</div>
		<div class="messages">
			<div class="result-message">Expected 3 to be 4.</div>
		</div>
	</div>
	<div class="spec-detail failed">
		<div class="description">
			<a title="cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
upload filetransfer.spec.22 should get http status and body on failure" href="?spec=cordova-plugin-file-transfer-tests.tests
&gt;&gt; FileTransfer methods upload filetransfer.spec.22 should get http status and
body on failure">cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer
methods upload filetransfer.spec.22 should get http status and body on failure</a>
		</div>
		<div class="messages">
			<div class="result-message">Expected null to be 403.</div>
		</div>
	</div>
	<div class="spec-detail failed">
		<div class="description">
			<a title="cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
upload filetransfer.spec.29 (compatibility) should be able to upload a file using local paths"
href="?spec=cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
upload filetransfer.spec.29 (compatibility) should be able to upload a file using local paths">cordova-plugin-file-transfer-tests.tests
&gt;&gt; FileTransfer methods upload filetransfer.spec.29 (compatibility) should be
able to upload a file using local paths</a>
		</div>
		<div class="messages">
			<div class="result-message">Error: Timeout - Async callback was not invoked within
timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js
(line 1764)</div>
			<div class="result-message">Expected spy httpFail not to have been called.</div>
		</div>
	</div>
	<div class="spec-detail failed">
		<div class="description">
			<a title="cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
upload filetransfer.spec.31 should be able to upload a file using PUT method" href="?spec=cordova-plugin-file-transfer-tests.tests
&gt;&gt; FileTransfer methods upload filetransfer.spec.31 should be able to upload
a file using PUT method">cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer
methods upload filetransfer.spec.31 should be able to upload a file using PUT method</a>
		</div>
		<div class="messages">
			<div class="result-message">Error: Timeout - Async callback was not invoked within
timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js
(line 1764)</div>
			<div class="result-message">Expected spy httpFail not to have been called.</div>
		</div>
	</div>
	<div class="spec-detail failed">
		<div class="description">
			<a title="cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
upload filetransfer.spec.32 should be able to upload a file (non-multipart)" href="?spec=cordova-plugin-file-transfer-tests.tests
&gt;&gt; FileTransfer methods upload filetransfer.spec.32 should be able to upload
a file (non-multipart)">cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer
methods upload filetransfer.spec.32 should be able to upload a file (non-multipart)</a>
		</div>
		<div class="messages">
			<div class="result-message">Error: Timeout - Async callback was not invoked within
timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in file:///var/mobile/Containers/Bundle/Application/2C563747-D3A3-4E10-8DD7-E025545D9FB0/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js
(line 1764)</div>
			<div class="result-message">Expected spy httpFail not to have been called.</div>
		</div>
	</div>
	<div class="spec-detail failed">
		<div class="description">
			<a title="cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer methods
upload filetransfer.spec.34 should not delete a file on upload error" href="?spec=cordova-plugin-file-transfer-tests.tests
&gt;&gt; FileTransfer methods upload filetransfer.spec.34 should not delete a file
on upload error">cordova-plugin-file-transfer-tests.tests &gt;&gt; FileTransfer
methods upload filetransfer.spec.34 should not delete a file on upload error</a>
		</div>
		<div class="messages">
			<div class="result-message">Expected 3 to be 4.</div>
			<div class="result-message">Expected spy onprogress to have been called.</div>
		</div>
	</div>
</div>
{code}

> [WKWebView] Failing tests
> -------------------------
>
>                 Key: CB-7287
>                 URL: https://issues.apache.org/jira/browse/CB-7287
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>         Environment: iOS 8
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>              Labels: cordova-ios-4.0.x
>
> This is only for the wkwebview branch, and using these plugins, and 3.5.0 mobile-spec:
> {code}
>     "org.apache.cordova.battery-status": "0.2.10",
>     "org.apache.cordova.camera": "0.3.1",
>     "org.apache.cordova.console": "0.2.10",
>     "org.apache.cordova.contacts": "0.2.12",
>     "org.apache.cordova.device": "0.2.11",
>     "org.apache.cordova.device-motion": "0.2.9",
>     "org.apache.cordova.device-orientation": "0.3.8",
>     "org.apache.cordova.dialogs": "0.2.9",
>     "org.apache.cordova.file": "1.3.0",
>     "org.apache.cordova.file-transfer": "0.4.5",
>     "org.apache.cordova.geolocation": "0.3.9",
>     "org.apache.cordova.globalization": "0.3.0",
>     "org.apache.cordova.inappbrowser": "0.5.1",
>     "org.apache.cordova.media": "0.2.12",
>     "org.apache.cordova.media-capture": "0.3.2",
>     "org.apache.cordova.network-information": "0.2.11",
>     "org.apache.cordova.splashscreen": "0.3.2",
>     "org.apache.cordova.vibration": "0.3.10"
> {code}
> The 3 failing tests:
> {code}
> FileTransfer upload method filetransfer.spec.18 should be able to upload a file.
> Expected '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/ed60ec667664b454d72b193bf8841e5c","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:28.862Z"}}}
' to match /fields:\s*{\s*value1.*/.
> FileTransfer upload method filetransfer.spec.19 should be able to upload a file with
http basic auth.
> Expected '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/94aa407aca7bd9c53081f0da5ab33d54","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:29.322Z"}}}
' to match /fields:\s*{\s*value1.*/.
> FileTransfer Backwards compatibility filetransfer.spec.29 should be able to upload a
file using local paths.
> Expected '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/9bf857a3d64ef9beaf4eae4e22876ecc","name":"upload.txt","type":"text/plain","mtime":"2014-08-12T21:53:31.307Z"}}}
' to match /fields:\s*{\s*value1.*/.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message