Skip to content

Commit

Permalink
Merge pull request #3221 from Opetushallitus/tor-xxx-ci-virittelya
Browse files Browse the repository at this point in the history
TOR-XXX: Yrityksiä pienentää testien jumittumista
  • Loading branch information
ilkkahanninen authored Nov 26, 2024
2 parents f91494a + 76c380f commit f35031a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker-compose-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ services:

localstack:
container_name: koski-localstack
image: localstack/localstack:3.7.2@sha256:811d4cd67e6cc833cd5849ddaac454abd90c0d0fc00d402f8f82ee47926c5e10
image: localstack/localstack:s3-latest-arm64@sha256:f507334401cd2e074ce57680a9863dd6e2c372aedb2c7829a45db242fda89611
ports:
- "127.0.0.1:4566:4566" # LocalStack Gateway
- "127.0.0.1:4510-4559:4510-4559" # external services port range
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ services:

localstack:
container_name: koski-localstack
image: localstack/localstack:3.7.2@sha256:811d4cd67e6cc833cd5849ddaac454abd90c0d0fc00d402f8f82ee47926c5e10
image: localstack/localstack:s3-latest@sha256:c43ea609e7957594c47adcce52359425b427feceb7a4b3283eebd64fb949e353
ports:
- "127.0.0.1:4566:4566" # LocalStack Gateway
- "127.0.0.1:4510-4559:4510-4559" # external services port range
Expand Down
12 changes: 8 additions & 4 deletions web/test/spec/RaportitSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ describe('Raporttien luominen', function () {
'Lukiokoulutus',
'Lukiokoulutus (LOPS2021)',
'IB-koulutus',
'VST',
'MUKS',
'Yleiset'
])
expect(page.valittuRaporttikategoria()).to.equal('Esiopetus')
Expand Down Expand Up @@ -110,6 +112,8 @@ describe('Raporttien luominen', function () {
'Lukiokoulutus',
'Lukiokoulutus (LOPS2021)',
'IB-koulutus',
'VST',
'MUKS',
'Yleiset'
])
expect(page.valittuRaporttikategoria()).to.equal('Esiopetus')
Expand Down Expand Up @@ -282,7 +286,7 @@ describe('Raporttien luominen', function () {
Authentication().login('kalle'),
page.openPage(),
page.odotaRaporttikategoriat(),
page.valitseRaporttikategoria(9), // Muut
page.valitseRaporttikategoria(11), // Muut
page.haeOrganisaatioita('helsin')
)

Expand All @@ -302,7 +306,7 @@ describe('Raporttien luominen', function () {
Authentication().login('pää'),
page.openPage(),
page.odotaRaporttikategoriat(),
page.valitseRaporttikategoria(9), // Muut
page.valitseRaporttikategoria(11), // Muut
page.haeOrganisaatioita('itä-suomen yliopisto')
)

Expand All @@ -323,7 +327,7 @@ describe('Raporttien luominen', function () {
Authentication().login('pää'),
page.openPage(),
page.odotaRaporttikategoriat(),
page.valitseRaporttikategoria(9), // Muut
page.valitseRaporttikategoria(11), // Muut
page.haeOrganisaatioita('aikuisopisto')
)

Expand Down Expand Up @@ -414,7 +418,7 @@ describe('Raporttien luominen', function () {
Authentication().login('kalle'),
page.openPage(),
page.odotaRaporttikategoriat(),
page.valitseRaporttikategoria(9) // Muut
page.valitseRaporttikategoria(11) // Muut
)

it('Näyttää organisaatiovalitsimen', function () {
Expand Down

0 comments on commit f35031a

Please sign in to comment.