Update dependency webpack to v5.97.0 #872
build-master.yaml
on: push
build
/
01-build.sh
2m 26s
build
/
Send in-progress status to radiator
2s
build
/
04-lint.sh
47s
Matrix: build / playwright-tests
Generate report from Playwright runs
1m 12s
deploy
/
...
/
Deploy to prod
0s
Annotations
5 errors, 5 warnings, and 1 notice
[Default] › tests/hakulomake/fixed-multiplier.test.ts:239:5 › fixed multiplier field works:
../../../../../playwright/tests/hakulomake/fixed-multiplier.test.ts#L315
1) [Default] › tests/hakulomake/fixed-multiplier.test.ts:239:5 › fixed multiplier field works › kokonaiskustannukset budget works
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('table').first().locator('tfoot th').nth(2)
Expected string: "100 €"
Received string: "0 €"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('table').first().locator('tfoot th').nth(2)
9 × locator resolved to <th class="amount budgetAmount">0 €</th>
- unexpected value "0 €"
313 | const { paatosPage, locators } = await getBudgetTableFooterTh(context, page)
314 | await expect(locators.nth(1)).toContainText('3 870 €')
> 315 | await expect(locators.nth(2)).toContainText('100 €')
| ^
316 | await paatosPage.close()
317 | })
318 | await test.step('menokohtainen budget works', async () => {
at /playwright/tests/hakulomake/fixed-multiplier.test.ts:315:35
at /playwright/tests/hakulomake/fixed-multiplier.test.ts:308:3
|
[Default] › tests/maksatukset/maksatukset.test.ts:84:1 › Hakemus voidaan maksaa monessa erässä:
../../../../../playwright/pages/virkailija/hakujen-hallinta/hakujenHallintaPage.ts#L216
2) [Default] › tests/maksatukset/maksatukset.test.ts:84:1 › Hakemus voidaan maksaa monessa erässä
TimeoutError: locator.fill: Timeout 10000ms exceeded.
Call log:
- waiting for locator('#ta-tili-container-0').locator('#koulutusaste-select-0').locator('.koulutusasteSelection__input')
- locator resolved to <input disabled value="" type="text" tabindex="0" role="combobox" autocorrect="off" autocomplete="off" spellcheck="false" aria-haspopup="true" autocapitalize="none" aria-expanded="false" aria-autocomplete="list" aria-activedescendant="" id="react-select-7-input" class="koulutusasteSelection__input" aria-describedby="react-select-7-placeholder"/>
- fill("Ammatillinen koulutus")
- attempting fill action
2 × waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action
- waiting 20ms
2 × waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action
- waiting 100ms
20 × waiting for element to be visible, enabled and editable
- element is not visible
- retrying fill action
- waiting 500ms
at pages/virkailija/hakujen-hallinta/hakujenHallintaPage.ts:216
214 | await this.page.keyboard.press('ArrowDown')
215 | await this.page.keyboard.press('Enter')
> 216 | await taTili.tili(0).koulutusaste(0).input.fill('Ammatillinen koulutus')
| ^
217 | await this.page.keyboard.press('ArrowDown')
218 | await this.page.keyboard.press('Enter')
219 |
at /playwright/pages/virkailija/hakujen-hallinta/hakujenHallintaPage.ts:216:50
at HakujenHallintaPage.fillAvustushakuWithoutWaitingForSave (/playwright/pages/virkailija/hakujen-hallinta/hakujenHallintaPage.ts:209:5)
at HakujenHallintaPage.fillAvustushaku (/playwright/pages/virkailija/hakujen-hallinta/hakujenHallintaPage.ts:185:5)
at HakujenHallintaPage.createHakuWithLomakeJson (/playwright/pages/virkailija/hakujen-hallinta/hakujenHallintaPage.ts:303:5)
at /playwright/pages/virkailija/hakujen-hallinta/hakujenHallintaPage.ts:320:33
at HakujenHallintaPage.createPublishedAvustushaku (/playwright/pages/virkailija/hakujen-hallinta/hakujenHallintaPage.ts:319:12)
at Object.avustushakuID (/playwright/fixtures/muutoshakemusTest.ts:65:27)
|
[Default] › tests/muutoshakemus/talousarvio-muuttaminen.test.ts:122:1 › changing budget multiple times:
../../../../../playwright/tests/muutoshakemus/talousarvio-muuttaminen.test.ts#L151
3) [Default] › tests/muutoshakemus/talousarvio-muuttaminen.test.ts:122:1 › changing budget multiple times › validate submitted values after sending it
Error: expect(received).toMatchObject(expected)
- Expected - 9
+ Received + 1
- Object {
- "equipment": "1337",
- "material": "420",
- "other": "9000",
- "personnel": "300",
- "rent": "69",
- "service-purchase": "5318008",
- "steamship": "0",
- }
+ Object {}
149 | const hakijaMuutoshakemusPaatosPage = new HakijaMuutoshakemusPaatosPage(page)
150 | const currentBudget = await getCurrentBudget(hakijaMuutoshakemusPaatosPage.page)
> 151 | expect(currentBudget).toMatchObject(budget.amount)
| ^
152 | const muutoshakemusBudget = await getMuutoshakemusBudget(hakijaMuutoshakemusPaatosPage.page)
153 | expect(muutoshakemusBudget).toMatchObject(muutoshakemus1Budget)
154 | const locators = hakijaMuutoshakemusPaatosPage.locators()
at /playwright/tests/muutoshakemus/talousarvio-muuttaminen.test.ts:151:29
at /playwright/tests/muutoshakemus/talousarvio-muuttaminen.test.ts:148:5
|
[Default] › tests/regression/ophy-654-seuranta-tab-broken-with.test.ts:24:18 › OPHY-654 regression: avustushaku with very simple budget shouldn't break seuranta page:
../../../../../playwright/pages/virkailija/hakemusten-arviointi/hakemustenArviointiPage.ts#L240
4) [Default] › tests/regression/ophy-654-seuranta-tab-broken-with.test.ts:24:18 › OPHY-654 regression: avustushaku with very simple budget shouldn't break seuranta page
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('#arviointi-tab').locator('.code-value-dropdown-project-id__single-value')
Expected string: "6f1ada9b8355f"
Received: <element(s) not found>
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('#arviointi-tab').locator('.code-value-dropdown-project-id__single-value')
at pages/virkailija/hakemusten-arviointi/hakemustenArviointiPage.ts:240
238 | await projektikoodi.option.locator(`text=${projectCode}`).click()
239 | }
> 240 | await expect(projektikoodi.value).toContainText(projectCode)
| ^
241 | }
242 |
243 | async fillPaatoksenPerustelut(perustelut: string) {
at HakemustenArviointiPage.selectProject (/playwright/pages/virkailija/hakemusten-arviointi/hakemustenArviointiPage.ts:240:39)
at HakemustenArviointiPage.acceptAvustushaku (/playwright/pages/virkailija/hakemusten-arviointi/hakemustenArviointiPage.ts:267:16)
at /playwright/fixtures/muutoshakemusTest.ts:194:19
at Object.acceptedHakemus (/playwright/fixtures/muutoshakemusTest.ts:193:5)
|
deploy / deploy-prod / Deploy to prod
The deployment was rejected or didn't satisfy other protection rules.
|
Slow Test:
[Default] › tests/email-notifications/loppuselvitys-palauttamatta.test.ts#L1
[Default] › tests/email-notifications/loppuselvitys-palauttamatta.test.ts took 7.7m
|
Slow Test:
[Default] › tests/email-notifications/laheta-loppuselvityspyynnot.test.ts#L1
[Default] › tests/email-notifications/laheta-loppuselvityspyynnot.test.ts took 5.8m
|
Slow Test:
[Default] › tests/email-notifications/valiselvitys-palauttamatta.test.ts#L1
[Default] › tests/email-notifications/valiselvitys-palauttamatta.test.ts took 5.3m
|
Slow Test:
[Default] › tests/email-notifications/hakuaika-paattymassa.test.ts#L1
[Default] › tests/email-notifications/hakuaika-paattymassa.test.ts took 5.0m
|
Slow Test:
[Default] › tests/hakemuksen-arviointi/valiselvitys.test.ts#L1
[Default] › tests/hakemuksen-arviointi/valiselvitys.test.ts took 3.7m
|
🎭 Playwright Run Summary
4 flaky
[Default] › tests/hakulomake/fixed-multiplier.test.ts:239:5 › fixed multiplier field works ─────
[Default] › tests/maksatukset/maksatukset.test.ts:84:1 › Hakemus voidaan maksaa monessa erässä ─
[Default] › tests/muutoshakemus/talousarvio-muuttaminen.test.ts:122:1 › changing budget multiple times
[Default] › tests/regression/ophy-654-seuranta-tab-broken-with.test.ts:24:18 › OPHY-654 regression: avustushaku with very simple budget shouldn't break seuranta page
1 skipped
311 passed (19.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-blob-1
Expired
|
689 KB |
|
playwright-blob-2
Expired
|
717 KB |
|
playwright-blob-3
Expired
|
13.8 MB |
|
playwright-blob-4
Expired
|
25.8 MB |
|
playwright-blob-5
Expired
|
12.7 MB |
|
playwright-blob-6
Expired
|
18 KB |
|
playwright-html-report
Expired
|
52.8 MB |
|