Skip to content

Fix flaky Geo database delete replication spec

Jennifer Louie requested to merge fix-geo-spec-39270 into master

What does this MR do?

This fixes a spec that could fail if the project dashboard is not in a specific state (causing page object element validation to fail). The project dashboard has two views: a 'welcome' view (if no projects exist) and a project list view. This spec deletes a project, so if no other projects exist, the dashboard will show the 'welcome' view. While this in itself confirms that the project has been deleted, we can't be sure that no other project will exist at this point (due to previous tests in a pipeline job creating projects). So, we can't be sure that the 'welcome' view will always be the one displayed.

Because we want to check that the deleted project does not appear in the projects lists, we need to make sure the project list view is shown. We do this by creating another project that will not be deleted by the test.

Closes #39270 (closed)

Does this MR meet the acceptance criteria?

Conformity

Edited by Jennifer Louie

Merge request reports