Tomas Rycl
9b6a37ead7
test: Better path compare than just strings ( #13548 )
...
* Better path comparision than just strings
* Linter fix
* Resolving paths first to always obtain absolute path so path.relative() can work
* Using assert.ok which better fits the test
* No need to resolve parameters of path.resolve
* Added assertion to type of returned path for download item
2018-07-10 21:38:11 +10:00
Samuel Attard
8200a132be
Re-enable cookie specs and add custom cookie name/url validation
2018-06-19 11:49:46 +10:00
Aleksei Kuzmin
de6a5de914
Disable all failing tests
2018-06-19 11:49:45 +10:00
Aleksei Kuzmin
e240a16a20
FIXME: Disable "ses.cookies calls back with an error when setting a cookie with missing required fields" test
2018-06-19 11:49:45 +10:00
Shelley Vohr
d40cce92bf
remove deprecated signature tests
2018-05-29 11:42:03 -04:00
Shelley Vohr
2660859434
update signature for setCertificateVerifyProc in session spec
2018-05-29 10:54:27 -04:00
Paul Frazee
01a6104727
Add download from custom protocol test ( #11931 )
2018-02-16 13:03:53 -05:00
Felix Rieseberg
9f0df695ca
🔧 Spec: Fix style issues
2017-11-23 14:22:58 -08:00
Felix Rieseberg
0278e380de
🔧 Spec: Don’t use deprecated new Buffer()
2017-11-23 14:22:31 -08:00
Aleksei Kuzmin
cf749a8e18
Explicitly skip tests that should be skipped
2017-11-20 14:43:23 +01:00
Shelley Vohr
e4214a6cbe
[WIP] Upgrade more specs ( #10945 )
...
Finish upgrading specs to ES6
2017-10-27 16:45:58 -04:00
Boik
f40cc5ab54
add error code to session.setCertificateVerifyProc
2017-10-16 17:17:21 +08:00
Kevin Sawicki
8f0ac057e3
Add initial spec for cookies.flushStore
2017-04-18 09:08:27 -07:00
Kevin Sawicki
f24baffc79
Expect count to be 0
2017-03-27 10:21:01 -07:00
deepak1556
3baa186c0a
fix failing download spec
2017-03-14 00:26:27 +05:30
Kevin Sawicki
22b9c6e539
Allow multiple verification results
2017-02-08 13:33:07 -08:00
Kevin Sawicki
18e15a1e53
Add spec for rejecting using old signature
2017-02-08 12:51:24 -08:00
Kevin Sawicki
70178adb6e
Use object for verification request
2017-02-08 11:59:43 -08:00
Kevin Sawicki
9c134e7bf3
Assert certificate error
2017-02-08 11:59:43 -08:00
Greg Nolle
e29b64a18a
modify CertVerifier Class
...
* respond to multiple similar verification requests.
* accept net error result as callback response.
2017-02-08 11:59:43 -08:00
Kevin Sawicki
cc183524fd
Only remove webview when non-null
2017-01-19 09:05:59 +02:00
Kevin Sawicki
2f5acfedcd
Add spec for denying perm requests when handler is cleared
2017-01-19 09:05:59 +02:00
deepak1556
4085ba309a
fix spec
2016-12-09 09:56:16 -08:00
deepak1556
21be9a3309
add spec
2016-12-09 09:55:55 -08:00
Kevin Sawicki
d705f4cbac
Fix issue where actual/expected was same variable
2016-12-09 09:37:46 -08:00
deepak1556
5d94221c61
fix code style
2016-12-09 09:37:46 -08:00
deepak1556
f124732431
add spec
2016-12-09 09:37:46 -08:00
Kevin Sawicki
f5f790863d
Use 1 or 2 minute timeout for long specs
2016-11-29 14:31:57 -08:00
Kevin Sawicki
fee7683b86
Reuse window variable and only close from root afterEach
2016-11-29 11:52:31 -08:00
Kevin Sawicki
fc1ce3eeab
Assert certs further up the chain
2016-11-15 16:32:12 -08:00
Kevin Sawicki
a1dca8afc9
🎨 Remove buildup asserts and just use assert.equal
2016-11-15 15:53:42 -08:00
Greg Nolle
2e5c92d41e
Fix listing issues: remove semicolons.
2016-11-15 15:53:42 -08:00
Greg Nolle
93ce2f7800
Add assertions for new fields in existing specs.
2016-11-15 15:53:42 -08:00
Kevin Sawicki
271733fc53
Add tests for ses.setCertificateVerifyProc
2016-10-24 16:12:49 +09:00
Kevin Sawicki
77b35ba7ab
Use separate session for cookies change event test
2016-09-29 09:16:35 -07:00
Kevin Sawicki
d83534d513
Add specs for cookie changed event
2016-09-29 09:16:35 -07:00
Cheng Zhao
e504d82554
spec: Suppress the download.pdf test on AppVeyor
2016-09-19 17:12:33 +09:00
deepak1556
d426d4ad90
add failing spec
2016-09-16 16:02:57 +05:30
deepak1556
7b85ca0301
create helper class to read blob data
2016-09-01 08:52:44 +05:30
deepak1556
be4bc6b7ef
fix docs and update specs
2016-09-01 01:01:52 +05:30
Kevin Sawicki
3108b8aacd
Use path to non-existent file
2016-08-25 14:40:15 -07:00
Kevin Sawicki
1de8a0dcf9
Add failing spec for unwanted save dialog
2016-08-25 14:27:37 -07:00
deepak1556
52431506ba
protocol: custom standard schemes should support cookies
2016-08-04 11:06:21 +05:30
Kevin Sawicki
0ebe142b2f
Close windows instead of destroying them
2016-08-03 16:23:39 -07:00
Kevin Sawicki
55d6e0de1a
Assert save path of download item
2016-07-27 17:52:36 -07:00
deepak1556
aa6d79a3d8
session: add proxyBypassRules option to setProxy api
2016-07-21 10:14:54 +05:30
Cheng Zhao
749ed3473b
spec: Fix js lint warning
2016-07-13 13:34:19 +09:00
Cheng Zhao
fd73279d16
spec: Test lifetime of sessions returned by session.fromPartition
2016-07-13 12:23:14 +09:00
Cheng Zhao
62153f4117
spec: Name of tests should match docs
2016-07-13 12:23:14 +09:00
Cheng Zhao
3ce3004595
spec: session.defaultSession test case
2016-07-13 12:23:14 +09:00