-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* teach cypress child partner bonus * rename test cases * add 2023 testcases
- Loading branch information
1 parent
3095c89
commit def131f
Showing
9 changed files
with
416 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
import { E2eTestUserInput } from '../../src/types/E2eTestUserInput' | ||
|
||
export const case202301Input: E2eTestUserInput = { | ||
t1r10_prijmy: '11000', | ||
priloha3_r11_socialne: '1200', | ||
priloha3_r13_zdravotne: '650', | ||
zaplatenePreddavky: '0', | ||
r001_dic: '233123123', | ||
r003_nace: '62010 - Počítačové programovanie', | ||
r005_meno: 'Fake', | ||
r004_priezvisko: 'Name', | ||
r006_titul: 'Ing.', | ||
r006_titul_za: 'PhD.', | ||
r007_ulica: 'Mierova', | ||
r008_cislo: '4', | ||
r009_psc: '82105', | ||
r010_obec: 'Bratislava 3', | ||
r011_stat: 'Slovensko', | ||
datum: '22.02.2024', | ||
|
||
/** SECTION Employment */ | ||
uhrnPrijmovOdVsetkychZamestnavatelov: '0', | ||
uhrnPovinnehoPoistnehoNaSocialnePoistenie: '0', | ||
uhrnPovinnehoPoistnehoNaZdravotnePoistenie: '0', | ||
uhrnPreddavkovNaDan: '0', | ||
udajeODanovomBonuseNaDieta: '0', | ||
employed: false, | ||
|
||
/** SECTION Pension */ | ||
platil_prispevky_na_dochodok: false, | ||
zaplatene_prispevky_na_dochodok: '0', | ||
|
||
/** SECTION Partner */ | ||
r031_priezvisko_a_meno: 'Fake Fake', | ||
r031_rodne_cislo: '9609226286', | ||
r032_partner_pocet_mesiacov: '12', | ||
r032_partner_vlastne_prijmy: '3000', | ||
r032_uplatnujem_na_partnera: false, | ||
partner_spolocna_domacnost: true, | ||
partner_bonus_uplatneny: false, | ||
partner_podmienky: { '1': true }, | ||
|
||
/** SECTION Children */ | ||
children: [ | ||
{ | ||
id: 1, | ||
priezviskoMeno: 'Morty Smith', | ||
rodneCislo: '2107123634', | ||
wholeYear: true, | ||
monthFrom: '6', | ||
monthTo: '11', | ||
}, | ||
{ | ||
id: 2, | ||
priezviskoMeno: 'Summer Smith', | ||
rodneCislo: '236017/4729', | ||
wholeYear: false, | ||
monthFrom: '9', | ||
monthTo: '11', | ||
}, | ||
], | ||
hasChildren: true, | ||
partner_bonus_na_deti: true, | ||
r034_priezvisko_a_meno: 'Beth Smith', | ||
r034_rodne_cislo: '895103/4169', | ||
partner_bonus_na_deti_od: '0', | ||
partner_bonus_na_deti_do: '5', | ||
r034a: '5000', | ||
|
||
expectNgoDonationValue: false, | ||
|
||
/** SECTION Two Percent */ | ||
percent2: '15,99', | ||
percent3: '29,42', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
import { E2eTestUserInput } from '../../src/types/E2eTestUserInput' | ||
|
||
export const case202302Input: E2eTestUserInput = { | ||
t1r10_prijmy: '15450', | ||
priloha3_r11_socialne: '1720.95', | ||
priloha3_r13_zdravotne: '687.96', | ||
zaplatenePreddavky: '0', | ||
r001_dic: '233123123', | ||
r003_nace: '62010 - Počítačové programovanie', | ||
r005_meno: 'Fake', | ||
r004_priezvisko: 'Name', | ||
r006_titul: 'Ing.', | ||
r006_titul_za: 'PhD.', | ||
r007_ulica: 'Mierova', | ||
r008_cislo: '4', | ||
r009_psc: '82105', | ||
r010_obec: 'Bratislava 3', | ||
r011_stat: 'Slovensko', | ||
datum: '22.02.2024', | ||
|
||
/** SECTION Employment */ | ||
uhrnPrijmovOdVsetkychZamestnavatelov: '8400', | ||
uhrnPovinnehoPoistnehoNaSocialnePoistenie: '789.60', | ||
uhrnPovinnehoPoistnehoNaZdravotnePoistenie: '336', | ||
uhrnPreddavkovNaDan: '446.76', | ||
udajeODanovomBonuseNaDieta: '0', | ||
employed: true, | ||
|
||
/** SECTION Pension */ | ||
platil_prispevky_na_dochodok: false, | ||
zaplatene_prispevky_na_dochodok: '0', | ||
|
||
/** SECTION Partner */ | ||
r032_uplatnujem_na_partnera: false, | ||
r031_priezvisko_a_meno: 'Fake Fake', | ||
r031_rodne_cislo: '9609226286', | ||
r032_partner_pocet_mesiacov: '12', | ||
r032_partner_vlastne_prijmy: '3000', | ||
partner_spolocna_domacnost: true, | ||
partner_bonus_uplatneny: false, | ||
partner_podmienky: { '1': true }, | ||
|
||
/** SECTION Children */ | ||
children: [ | ||
{ | ||
id: 1, | ||
priezviskoMeno: 'Morty Smith', | ||
rodneCislo: '065603/6337', | ||
wholeYear: true, | ||
monthFrom: '6', | ||
monthTo: '11', | ||
}, | ||
{ | ||
id: 2, | ||
priezviskoMeno: 'Summer Smith', | ||
rodneCislo: '215928/6294', | ||
wholeYear: true, | ||
monthFrom: '9', | ||
monthTo: '11', | ||
}, | ||
], | ||
hasChildren: true, | ||
partner_bonus_na_deti: true, | ||
r034_priezvisko_a_meno: 'Beth Smith', | ||
r034_rodne_cislo: '895103/4169', | ||
partner_bonus_na_deti_od: '0', | ||
partner_bonus_na_deti_do: '5', | ||
r034a: '5000', | ||
|
||
expectNgoDonationValue: false, | ||
|
||
/** SECTION Two Percent */ | ||
percent2: '15,99', | ||
percent3: '29,42', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
import { E2eTestUserInput } from '../../src/types/E2eTestUserInput' | ||
|
||
export const case202303Input: E2eTestUserInput = { | ||
t1r10_prijmy: '15450', | ||
priloha3_r11_socialne: '1720.95', | ||
priloha3_r13_zdravotne: '687.96', | ||
zaplatenePreddavky: '0', | ||
r001_dic: '233123123', | ||
r003_nace: '62010 - Počítačové programovanie', | ||
r005_meno: 'Fake', | ||
r004_priezvisko: 'Name', | ||
r006_titul: 'Ing.', | ||
r006_titul_za: 'PhD.', | ||
r007_ulica: 'Mierova', | ||
r008_cislo: '4', | ||
r009_psc: '82105', | ||
r010_obec: 'Bratislava 3', | ||
r011_stat: 'Slovensko', | ||
datum: '22.02.2024', | ||
|
||
/** SECTION Employment */ | ||
uhrnPrijmovOdVsetkychZamestnavatelov: '14400', | ||
uhrnPovinnehoPoistnehoNaSocialnePoistenie: '1353.60', | ||
uhrnPovinnehoPoistnehoNaZdravotnePoistenie: '576', | ||
uhrnPreddavkovNaDan: '1434', | ||
udajeODanovomBonuseNaDieta: '0', | ||
employed: true, | ||
|
||
/** SECTION Pension */ | ||
platil_prispevky_na_dochodok: false, | ||
zaplatene_prispevky_na_dochodok: '0', | ||
|
||
/** SECTION Partner */ | ||
r032_uplatnujem_na_partnera: false, | ||
r031_priezvisko_a_meno: 'Fake Fake', | ||
r031_rodne_cislo: '9609226286', | ||
r032_partner_pocet_mesiacov: '12', | ||
r032_partner_vlastne_prijmy: '3000', | ||
partner_spolocna_domacnost: true, | ||
partner_bonus_uplatneny: false, | ||
partner_podmienky: { '1': true }, | ||
|
||
/** SECTION Children */ | ||
children: [ | ||
{ | ||
id: 1, | ||
priezviskoMeno: 'Morty Smith', | ||
rodneCislo: '040628/7156', | ||
wholeYear: true, | ||
monthFrom: '6', | ||
monthTo: '11', | ||
}, | ||
{ | ||
id: 2, | ||
priezviskoMeno: 'Summer Smith', | ||
rodneCislo: '210920/3514', | ||
wholeYear: true, | ||
monthFrom: '9', | ||
monthTo: '11', | ||
}, | ||
], | ||
hasChildren: true, | ||
partner_bonus_na_deti: false, | ||
r034_priezvisko_a_meno: 'Beth Smith', | ||
r034_rodne_cislo: '895103/4169', | ||
partner_bonus_na_deti_od: '0', | ||
partner_bonus_na_deti_do: '5', | ||
r034a: '5000', | ||
|
||
expectNgoDonationValue: false, | ||
|
||
/** SECTION Two Percent */ | ||
percent2: '15,99', | ||
percent3: '29,42', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
import { E2eTestUserInput } from '../../src/types/E2eTestUserInput' | ||
|
||
export const case202304Input: E2eTestUserInput = { | ||
t1r10_prijmy: '78000', | ||
priloha3_r11_socialne: '2253.36', | ||
priloha3_r13_zdravotne: '951.72', | ||
zaplatenePreddavky: '0', | ||
r001_dic: '233123123', | ||
r003_nace: '62010 - Počítačové programovanie', | ||
r005_meno: 'Fake', | ||
r004_priezvisko: 'Name', | ||
r006_titul: 'Ing.', | ||
r006_titul_za: 'PhD.', | ||
r007_ulica: 'Mierova', | ||
r008_cislo: '4', | ||
r009_psc: '82105', | ||
r010_obec: 'Bratislava 3', | ||
r011_stat: 'Slovensko', | ||
datum: '22.02.2024', | ||
|
||
/** SECTION Employment */ | ||
uhrnPrijmovOdVsetkychZamestnavatelov: '0', | ||
uhrnPovinnehoPoistnehoNaSocialnePoistenie: '0', | ||
uhrnPovinnehoPoistnehoNaZdravotnePoistenie: '0', | ||
uhrnPreddavkovNaDan: '0', | ||
udajeODanovomBonuseNaDieta: '0', | ||
employed: false, | ||
|
||
/** SECTION Pension */ | ||
platil_prispevky_na_dochodok: false, | ||
zaplatene_prispevky_na_dochodok: '0', | ||
|
||
/** SECTION Partner */ | ||
r032_uplatnujem_na_partnera: false, | ||
r031_priezvisko_a_meno: 'Fake Fake', | ||
r031_rodne_cislo: '9609226286', | ||
r032_partner_pocet_mesiacov: '12', | ||
r032_partner_vlastne_prijmy: '3000', | ||
partner_spolocna_domacnost: true, | ||
partner_bonus_uplatneny: false, | ||
partner_podmienky: { '1': true }, | ||
|
||
/** SECTION Children */ | ||
children: [ | ||
{ | ||
id: 1, | ||
priezviskoMeno: 'Morty Smith', | ||
rodneCislo: '040620/7252', | ||
wholeYear: true, | ||
monthFrom: '6', | ||
monthTo: '11', | ||
}, | ||
{ | ||
id: 2, | ||
priezviskoMeno: 'Summer Smith', | ||
rodneCislo: '230913/4916', | ||
wholeYear: false, | ||
monthFrom: '8', | ||
monthTo: '11', | ||
}, | ||
], | ||
hasChildren: true, | ||
partner_bonus_na_deti: false, | ||
r034_priezvisko_a_meno: 'Beth Smith', | ||
r034_rodne_cislo: '895103/4169', | ||
partner_bonus_na_deti_od: '0', | ||
partner_bonus_na_deti_do: '5', | ||
r034a: '5000', | ||
|
||
expectNgoDonationValue: true, | ||
|
||
/** SECTION Two Percent */ | ||
percent2: '201,04', | ||
percent3: '29,42', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
import { E2eTestUserInput } from '../../src/types/E2eTestUserInput' | ||
|
||
export const case202305Input: E2eTestUserInput = { | ||
t1r10_prijmy: '34800', | ||
priloha3_r11_socialne: '2253.36', | ||
priloha3_r13_zdravotne: '951.72', | ||
zaplatenePreddavky: '0', | ||
r001_dic: '233123123', | ||
r003_nace: '62010 - Počítačové programovanie', | ||
r005_meno: 'Fake', | ||
r004_priezvisko: 'Name', | ||
r006_titul: 'Ing.', | ||
r006_titul_za: 'PhD.', | ||
r007_ulica: 'Mierova', | ||
r008_cislo: '4', | ||
r009_psc: '82105', | ||
r010_obec: 'Bratislava 3', | ||
r011_stat: 'Slovensko', | ||
datum: '22.02.2024', | ||
|
||
/** SECTION Employment */ | ||
uhrnPrijmovOdVsetkychZamestnavatelov: '0', | ||
uhrnPovinnehoPoistnehoNaSocialnePoistenie: '0', | ||
uhrnPovinnehoPoistnehoNaZdravotnePoistenie: '0', | ||
uhrnPreddavkovNaDan: '0', | ||
udajeODanovomBonuseNaDieta: '0', | ||
employed: false, | ||
|
||
/** SECTION Pension */ | ||
platil_prispevky_na_dochodok: false, | ||
zaplatene_prispevky_na_dochodok: '0', | ||
|
||
/** SECTION Partner */ | ||
r032_uplatnujem_na_partnera: false, | ||
r031_priezvisko_a_meno: 'Fake Fake', | ||
r031_rodne_cislo: '9609226286', | ||
r032_partner_pocet_mesiacov: '12', | ||
r032_partner_vlastne_prijmy: '3000', | ||
partner_spolocna_domacnost: true, | ||
partner_bonus_uplatneny: false, | ||
partner_podmienky: { '1': true }, | ||
|
||
/** SECTION Children */ | ||
children: [ | ||
{ | ||
id: 1, | ||
priezviskoMeno: 'Morty Smith', | ||
rodneCislo: '1106247406', | ||
wholeYear: true, | ||
monthFrom: '6', | ||
monthTo: '11', | ||
}, | ||
{ | ||
id: 2, | ||
priezviskoMeno: 'Summer Smith', | ||
rodneCislo: '1106240146', | ||
wholeYear: true, | ||
monthFrom: `9`, | ||
monthTo: '11', | ||
}, | ||
{ | ||
id: 3, | ||
priezviskoMeno: 'Rick Sanchez', | ||
rodneCislo: '1106248473', | ||
wholeYear: true, | ||
monthFrom: `9`, | ||
monthTo: '11', | ||
}, | ||
{ | ||
id: 4, | ||
priezviskoMeno: 'Beth Smith', | ||
rodneCislo: '1106240740', | ||
wholeYear: true, | ||
monthFrom: `9`, | ||
monthTo: '11', | ||
}, | ||
], | ||
hasChildren: true, | ||
partner_bonus_na_deti: true, | ||
r034_priezvisko_a_meno: 'Beth Smith', | ||
r034_rodne_cislo: '895103/4169', | ||
partner_bonus_na_deti_od: '0', | ||
partner_bonus_na_deti_do: '3', | ||
r034a: '13569', | ||
|
||
expectNgoDonationValue: false, | ||
|
||
/** SECTION Two Percent */ | ||
percent2: '201,04', | ||
percent3: '29,42', | ||
} |
File renamed without changes.
Oops, something went wrong.