stable
Clone or download
Read-only
Part of request #22559 Program management should be covered by end to end tests - Setting "now" for each test lets cypress retry succesfully, otherwise it tries to recreate a project and fails due to conflicting name. - Assigning return values to variables is an anti-pattern [0], we can use .then() to work on an element's value. How to test: - make tests_cypress should succeed [0] https://docs.cypress.io/guides/references/best-practices#Assigning-Return-Values Change-Id: I52fcea5c4a40ef6389fb80dc42cfb24367af7171
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/program_management/tests/e2e/cypress/cypress/integration/program_management.spec.ts | +22 | −34 | Go to diff View file |