Altinn / altinn-studio

Next generation open source Altinn platform and applications.
https://docs.altinn.studio
BSD 3-Clause "New" or "Revised" License
109 stars 73 forks source link

Resolved E2E test failures and refactored ProcessEditorPage Class to follow "Single Responsibility Principle" #13021

Closed framitdavid closed 5 days ago

framitdavid commented 5 days ago

Description

Split the ProcesssEditor class to follow the "SRP" principle a little more, by splitting changing data models config to it's own class. The same will be done for the actions, they will be changed in another PR (which has changed actions a lot). I have attempted to fix the e2e tests by waiting until the selected data model is chosen and displayed to the user as the selected data model before continue running tests.

Related Issue(s)

Verification

codecov[bot] commented 5 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.78%. Comparing base (d1973b1) to head (5277c52).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #13021 +/- ## ======================================= Coverage 91.78% 91.78% ======================================= Files 1400 1400 Lines 19827 19827 Branches 2388 2388 ======================================= Hits 18199 18199 Misses 1371 1371 Partials 257 257 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.