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

Sidm 3561 compare screenshot test #308

Merged
merged 48 commits into from
Feb 17, 2020
Merged
Show file tree
Hide file tree
Changes from 47 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
866224d
screen shot compare test
Dec 23, 2019
a129958
updated code
Dec 23, 2019
d0d8fb4
Merge branch 'preview' of https://github.com/hmcts/idam-web-public in…
Jan 10, 2020
0b7840f
updated cnp file
Jan 13, 2020
04c8d39
added base screen shot folder to repo
Jan 13, 2020
97da89a
added functional-output to git ignore
Jan 13, 2020
51578f0
taking base screen shot is set to false
Jan 13, 2020
34f4927
added diff folder to screenshot folder
Jan 13, 2020
64d9148
added diff folder and ignore functional output
Jan 13, 2020
8a39c50
removed some images from base folder
Jan 13, 2020
3073c64
added f-output folder to gitignore
Jan 13, 2020
db88e1d
removed some images from base folder
Jan 13, 2020
1f9daba
removed some images from base folder
Jan 13, 2020
8d3997f
Merge branch 'preview' of https://github.com/hmcts/idam-web-public in…
Jan 13, 2020
f6509b3
set base image to false in ui tests
Jan 14, 2020
d5e5d2f
Merge branch 'preview' of https://github.com/hmcts/idam-web-public in…
Jan 14, 2020
97f126a
added foutput folder to gitignore
Jan 14, 2020
6045b34
update policy check test
Jan 14, 2020
3aef5cb
added foutput to gitignore
Jan 14, 2020
c7832fa
updated code to run all functional tests
Jan 14, 2020
9581e81
updated policy check test
Jan 14, 2020
1796cc0
added foutput to gitignore
Jan 14, 2020
675225f
change name of base screen shot
Jan 15, 2020
c0b1e6d
removed foutpit from gitignore
Jan 15, 2020
c6c6216
added wait to failed tests
Jan 15, 2020
1a782a2
added foitput to gitignore
Jan 15, 2020
6c620f3
added ignore screen compare code
Jan 15, 2020
0b85c07
added wait
Jan 15, 2020
ad382fd
updates screen shot
Jan 15, 2020
646b687
removed screen shot
Jan 15, 2020
232da80
added foutput folder to gitignore
Jan 15, 2020
01f8612
resolved conflicts
Jan 21, 2020
719de87
Merge branch 'preview' into SIDM-3561-Compare-Screenshot-test
shravanmechineni Feb 11, 2020
1a1264f
applied retry
Feb 11, 2020
16dfb8a
added resemblence helper to package.json
Feb 12, 2020
7ac3f12
added resemblance helper
Feb 12, 2020
c3932f8
Merge branch 'preview' into SIDM-3561-Compare-Screenshot-test
shravanmechineni Feb 12, 2020
8722ace
enabled screen shot for visual testing
Feb 13, 2020
ce7f74a
cleaned up code
Feb 14, 2020
e238399
Merge branch 'SIDM-3561-Compare-Screenshot-test' of https://github.co…
Feb 14, 2020
5373e43
added functional output folder to gitignore
Feb 14, 2020
1649801
ingored package.lock.json
Feb 14, 2020
813d63b
Delete package-lock.json
sudhasane Feb 14, 2020
64a5bb6
added dependencies
Feb 16, 2020
777e8dc
resolved conflicts
Feb 16, 2020
b40b7f3
added node fetch dependency
Feb 16, 2020
0e767eb
updared lockout test
Feb 16, 2020
d48805d
Merge branch 'preview' into SIDM-3561-Compare-Screenshot-test
sudhasane Feb 17, 2020
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
target/
!.mvn/wrapper/maven-wrapper.jar
functional-output/
package-lock.json

### STS ###
.apt_generated
Expand Down
2 changes: 2 additions & 0 deletions Jenkinsfile_CNP
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ withPipeline(type, product, component) {

after('functionalTest:idam-preview') {
archiveArtifacts '**/build/test-results/**/*'
archiveArtifacts '**/functional-output/**/*'

publishHTML target: [
allowMissing : true,
Expand All @@ -153,6 +154,7 @@ withPipeline(type, product, component) {

after('functionalTest:idam-aat') {
archiveArtifacts '**/build/test-results/**/*'
archiveArtifacts '**/functional-output/**/*'

publishHTML target: [
allowMissing : true,
Expand Down
3 changes: 1 addition & 2 deletions Jenkinsfile_nightly
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,4 @@ withNightlyPipeline(type, product, component) {
reportName : "IDAM Web Public E2E functional tests result"
]
}

}
}
10 changes: 9 additions & 1 deletion codecept.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ exports.config = {
name: 'idam-web-public',
tests: './src/test/js/**/*_test.js',
output: './output',
fullPageScreenshots: true,
timeout: 180000,
bootstrap: false,
helpers: {
Expand All @@ -12,6 +13,7 @@ exports.config = {
url: TestData.WEB_PUBLIC_URL,
waitForTimeout: 60000,
waitForAction: 2000,
windowSize: "1280x960",
getPageTimeout: 20000,
chrome: {
//args: ["--proxy-server=" + process.env.PROXY_SERVER],
Expand All @@ -20,7 +22,13 @@ exports.config = {
},
idam_helper: {
"require": "./src/test/js/shared/idam_helper.js"
}
},
"ResembleHelper" : {
"require": "codeceptjs-resemblehelper",
"screenshotFolder" : "./functional-output/output/",
"baseFolder": "./functional-output/screenshots/base/",
"diffFolder": "./functional-output/screenshots/diff/"
}
},
"include": {
"I": "./src/test/js/shared/custom_steps.js"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading