Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TEST] Automatic screenshots comparing and error checking in IE11, Firefox and Chrome #715

Merged
merged 74 commits into from
Nov 2, 2019
Merged
Changes from 1 commit
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
b25c584
taking screenshots
tinovyatkin Oct 28, 2019
6a2ff5c
let's try
tinovyatkin Oct 28, 2019
5c46635
save artifacts
tinovyatkin Oct 28, 2019
1137134
better exceptiosn
tinovyatkin Oct 28, 2019
6c160bb
try to install geskodriver
tinovyatkin Oct 28, 2019
d9335dc
fix edge name
tinovyatkin Oct 28, 2019
1fb92ff
add check for safari
tinovyatkin Oct 28, 2019
8354e1e
check os
tinovyatkin Oct 28, 2019
5e0c86b
try this
tinovyatkin Oct 28, 2019
79bc922
again
tinovyatkin Oct 28, 2019
3ce8cfe
fix syntax
tinovyatkin Oct 28, 2019
fabe14a
try this
tinovyatkin Oct 28, 2019
b21c6c9
try firefox on windows
tinovyatkin Oct 28, 2019
fab16ab
and again
tinovyatkin Oct 28, 2019
86b106f
handle error
tinovyatkin Oct 28, 2019
d4ad3d3
and again
tinovyatkin Oct 28, 2019
1c0a40c
try older macos
tinovyatkin Oct 28, 2019
a2ec4d0
add firefox screenshot
tinovyatkin Oct 28, 2019
703f9f7
switch back env
tinovyatkin Oct 28, 2019
2080efe
switch back env
tinovyatkin Oct 28, 2019
558d180
add IE screenshot
tinovyatkin Oct 28, 2019
46c1cae
try sudo for safari
tinovyatkin Oct 28, 2019
89bba63
try not install nuget
tinovyatkin Oct 28, 2019
3a108d2
try more
tinovyatkin Oct 28, 2019
6516eb3
more
tinovyatkin Oct 28, 2019
d58444a
try this
tinovyatkin Oct 28, 2019
222bba3
install firefox
tinovyatkin Oct 28, 2019
4059cc1
add chrome
tinovyatkin Oct 28, 2019
0702cc3
increase threshold
tinovyatkin Oct 28, 2019
93c6402
add firefox-darwin
tinovyatkin Oct 28, 2019
80d6032
push
tinovyatkin Oct 28, 2019
2e37ddd
fixing
tinovyatkin Oct 28, 2019
286aa2a
let's go
tinovyatkin Oct 28, 2019
6af4164
increase threeshold
tinovyatkin Oct 28, 2019
edf75d5
again
tinovyatkin Oct 28, 2019
bf04299
try safari tp
tinovyatkin Oct 28, 2019
dc12bd0
tap cask versions
tinovyatkin Oct 28, 2019
26e3cf3
fix conditions
tinovyatkin Oct 28, 2019
db5d8df
try like this
tinovyatkin Oct 28, 2019
f8784f1
last run
tinovyatkin Oct 28, 2019
a33b947
increase threshold
tinovyatkin Oct 28, 2019
eb56bc3
reenable macos firefox
tinovyatkin Oct 28, 2019
90aeeff
last try for safari
tinovyatkin Oct 28, 2019
3dd27b0
rename screenshots to snapshots
tinovyatkin Oct 28, 2019
5db7b75
check console
tinovyatkin Oct 28, 2019
c9700b2
console workarounds
tinovyatkin Oct 28, 2019
b5ed454
fix safari misspleings
tinovyatkin Oct 28, 2019
a99fb2d
logging is not supported by everyone
tinovyatkin Oct 28, 2019
5a18cd0
maximize and set rect
tinovyatkin Oct 28, 2019
0b4704e
errors only for Chrome
tinovyatkin Oct 28, 2019
7789006
remove safari for now
tinovyatkin Oct 28, 2019
4772ba2
try to decrease threshold
tinovyatkin Oct 28, 2019
18544a6
Merge branch 'master' into silenium
tinovyatkin Oct 28, 2019
408fe47
cleanup
tinovyatkin Oct 28, 2019
02e4b47
increase threeshold
tinovyatkin Oct 28, 2019
44014dd
sleep more and increase threeshold
tinovyatkin Oct 28, 2019
5fbc611
add pupeeter
tinovyatkin Oct 28, 2019
3e63340
handle errors
tinovyatkin Oct 28, 2019
cc609eb
build
tinovyatkin Oct 28, 2019
ee6aaa8
add prettier end of line
tinovyatkin Oct 28, 2019
54d6971
add gitattributes
tinovyatkin Oct 28, 2019
8e3feff
add png to binary
tinovyatkin Oct 28, 2019
d337cb6
more attributest
tinovyatkin Oct 28, 2019
e30ea2d
limit run
tinovyatkin Oct 28, 2019
fec1b12
run on chages to snapshots
tinovyatkin Oct 28, 2019
d58182b
hey!
tinovyatkin Oct 28, 2019
4438229
make artifacts named as snapshots
tinovyatkin Oct 28, 2019
4f651eb
just for fun: we don't need express here
tinovyatkin Oct 29, 2019
adf599a
update pupeeter snapshot
tinovyatkin Nov 1, 2019
ddad5fc
no audit
tinovyatkin Nov 1, 2019
eaa2752
don't wait for quit?
tinovyatkin Nov 1, 2019
79c7e92
try more IE capabilities
tinovyatkin Nov 1, 2019
bde05ed
add wait timeout
tinovyatkin Nov 1, 2019
8ffc8bd
use server.js
tinovyatkin Nov 1, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
don't wait for quit?
  • Loading branch information
tinovyatkin committed Nov 1, 2019
commit eaa27524b11786ad95a2b10e9e05c8ba071cc19f
4 changes: 2 additions & 2 deletions .github/actions-scripts/selenium.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ async function test() {
console.error(err);
error = err;
} finally {
await driver.quit();
await new Promise(resolve => server.close(resolve));
driver.quit();
server.close();
}
if (pixelDifference > 200) {
console.error(
Expand Down