dataall icon indicating copy to clipboard operation
dataall copied to clipboard

Integration tests executed on a real deployment as part of the CICD - Environments

Open dlpzx opened this issue 9 months ago • 2 comments

Description in #1220.

This issue is to track the progress for the Environments module. It has its complications because we need to work with real AWS accounts that need to be bootstrapped and trusting the real deployment account.

Design will follow

dlpzx avatar Apr 29 '24 16:04 dlpzx

In #1334 some basic tests that create/delete/modify an environment were added but more should be added to cover the most commonly used functionality around environments

petrkalos avatar Jun 25 '24 12:06 petrkalos

Required tests for basic coverage

For fresh deployments

For each of the following API calls we need to test authorized and unauthorized scenarios as well as all possible configurations (e.g. test delete environment when there are existing resources)

  • [x] Create Environment
  • [x] List Environments
  • [x] Edit Environment
  • [x] Update Environment stack
  • [x] Invite Team
  • [x] Edit Team
  • [x] Remove Team
  • [x] Add Consumption role
  • [x] Edit Consumption role
  • [x] Remove Consumption role
  • [x] Delete Environment

For backwards compatibility

  • [x] update Environment stack after upgrade

@petrkalos can you check the items that are already implemented in #1334?

dlpzx avatar Jul 01 '24 15:07 dlpzx

Completed!

dlpzx avatar Jul 12 '24 07:07 dlpzx