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

SALTO-7313: E2E fixes #7136

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

SALTO-7313: E2E fixes #7136

wants to merge 5 commits into from

Conversation

IdoZakk
Copy link
Contributor

@IdoZakk IdoZakk commented Jan 20, 2025

Fixed a problem in the E2E- it did not apply changes to the instances


In the core we apply changes after a deployment of a change group on the instances, so references will have the valid values (for instance IDs). In the E2E we only copied the value of the ids for parents.
Following the change, which is in the first commit, a few bug were revealed. Each is fixed in a separate commit.
In the last commit I added another fix for the E2E, to perform the delete in the same groups of the additions as sometimes the order is important


Release Notes:
Jira Adapter:

  • Improvements to the E2E and related bug fixes (mostly in hidden fields)

User Notifications:
None

@coveralls
Copy link

Coverage Status

coverage: 93.652% (+0.001%) from 93.651%
when pulling ea734e7 on IdoZakk:7313E2EFixes
into 8d136b5 on salto-io:main.

@@ -115,6 +126,14 @@ export const defaultDeployChange = async ({
log.warn('Received unexpected response from deployChange: %o', response)
}
}
if (
isAdditionOrModificationChange(change) &&
response !== undefined &&
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for the transpiler, line 132 covers it as well

Comment on lines -202 to -205
} else {
tab.originalFieldsIds = {
ids: [],
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When fetching without tabs we do not create those fields so I made it the same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants