This repository was archived by the owner on Sep 7, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
This repository was archived by the owner on Sep 7, 2018. It is now read-only.
Window API size/location test failures #343
Copy link
Copy link
Open
Description
Ran the tests on my home machine, and they failed under electron due to what appears to be screen resolution issues. Screen Resolution is 1920 x 1080 (primary).
1) WindowCore API Methods Should set the windows position #ssf.Window.setPosition #ssf.WindowCore.setPosition:
AssertionError: 449 == 450
+ expected - actual
-449
+450
at steps (test\window.core.spec.js:647:18)
at process._tickDomainCallback (internal/process/next_tick.js:135:7)
2) WindowCore API Methods Should set the windows size #ssf.Window.setSize #ssf.WindowCore.setSize:
AssertionError: 451 == 450
+ expected - actual
-451
+450
at steps (test\window.core.spec.js:668:18)
at process._tickDomainCallback (internal/process/next_tick.js:135:7)
3) WindowCore API New Window Should be created with the correct height #ssf.WindowOptions.height:
AssertionError: 302 == 300
+ expected - actual
-302
+300
at steps (test\window.core.spec.js:937:28)
at process._tickDomainCallback (internal/process/next_tick.js:135:7)
4) Window API Methods Should get the bounds of the window #ssf.Window.getBounds:
AssertionError: 602 == 600
+ expected - actual
-602
+600
at steps (test\window.spec.js:151:20)
at process._tickDomainCallback (internal/process/next_tick.js:135:7)
5) Window API Methods Should return the maximum width #ssf.Window.getMaximumSize:
AssertionError: 502 == 500
+ expected - actual
-502
+500
at steps (test\window.spec.js:222:30)
at process._tickDomainCallback (internal/process/next_tick.js:135:7)
6) Window API Methods Should return the minimum width #ssf.Window.getMinimumSize:
AssertionError: 502 == 500
+ expected - actual
-502
+500
at steps (test\window.spec.js:261:30)
at process._tickDomainCallback (internal/process/next_tick.js:135:7)
7) Window API Methods Should set the windows maximum width #ssf.Window.setMaximumSize:
AssertionError: 780 == 777
+ expected - actual
-780
+777
at steps (test\window.spec.js:538:30)
at process._tickDomainCallback (internal/process/next_tick.js:135:7)
8) Window API Methods Should set the windows maximum height #ssf.Window.setMaximumSize:
AssertionError: 782 == 780
+ expected - actual
-782
+780
at steps (test\window.spec.js:558:30)
at process._tickDomainCallback (internal/process/next_tick.js:135:7)
9) Window API Methods Should set the windows minimum width #ssf.Window.setMinimumSize:
AssertionError: 780 == 777
+ expected - actual
-780
+777
at steps (test\window.spec.js:594:30)
at process._tickDomainCallback (internal/process/next_tick.js:135:7)
10) Window API Methods Should set the windows minimum height #ssf.Window.setMinimumSize:
AssertionError: 782 == 780
+ expected - actual
-782
+780
at steps (test\window.spec.js:612:30)
at process._tickDomainCallback (internal/process/next_tick.js:135:7)
11) Window API New Window Should be created with added frame size to max height #ssf.WindowOptions.maxHeight:
AssertionError: 622 == 620
+ expected - actual
-622
+620
at steps (test\window.spec.js:678:30)
at process._tickDomainCallback (internal/process/next_tick.js:135:7)
12) Window API New Window Should be created with added frame size to min height #ssf.WindowOptions.minHeight:
AssertionError: 622 == 620
+ expected - actual
-622
+620
at steps (test\window.spec.js:699:30)
at process._tickDomainCallback (internal/process/next_tick.js:135:7)
13) Window API New Window Should be created in the center if no x and y #ssf.WindowOptions.center:
AssertionError: [ 517, 161 ] deepEqual [ 518, 162 ]
+ expected - actual
[
- 517
- 161
+ 518
+ 162
]
at steps (test\window.spec.js:739:30)
at process._tickDomainCallback (internal/process/next_tick.js:135:7)Metadata
Metadata
Assignees
Labels
No labels