Skip to content

Commit

Permalink
ADM-1000 [frontend]: fix e2e test (#1611)
Browse files Browse the repository at this point in the history
* ADM-1000 [frontend]: show source control configuration when pipeline tool select buildkite

* ADM-1000 [frontend]: add test for source control configuration when pipeline tool select buildkite

* ADM-1000 [backend]: add repo name in the pipeline info api

* ADM-1000 [backend]: finish test for repo name in the pipeline info api

* ADM-1000 [backend]: format

* ADM-1000 [backend]: update repoName data

* ADM-1000 [frontend]: add repo name for pipeline configuration in the metrics page

* ADM-1000 [frontend]: fix test

* ADM-1000 [frontend]: fix test coverage

* ADM-1000 [frontend]: disable repo name in the source control settings when pipeline configuration select repo name

* ADM-1000 [frontend]: fix test

* ADM-1000 [frontend]: adjust the logic for the next button in the metrics page

* ADM-1000 [frontend]: fix test

* ADM-1000 [backend]: fix sonar issues

* ADM-1000 [frontend]: fix sonar issues

* ADM-1000 [frontend]: adjust the logic for the next button in the metrics page

* ADM-1000 [frontend]: fix e2e test

* ADM-1000 [frontend]: refactor: rename the deployment settings in the state

* ADM-1000 [frontend]: refactor: rename the deployment frequency settings component

* ADM-1000 [frontend]: fix the bug of branch selection in the source control settings

* ADM-1000 [frontend]: format and rename

* ADM-1000 [frontend]: fix test coverage

* ADM-1000 [frontend]: fix save config file

* ADM-1000 [frontend]: fix e2e test

* ADM-1000 [frontend][backend]: fix comments

* ADM-1000 [frontend]: fix sonar issues

* ADM-1000 [frontend]: fix e2e test
  • Loading branch information
zhou-yinyuan authored Sep 24, 2024
1 parent a8ece41 commit eb2617c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/e2e/pages/metrics/metrics-step.ts
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,9 @@ export class MetricsStep {
}

async selectOrganization(selector: Locator, orgName: string) {
await expect(this.loadings).toBeHidden();
for (const loading of await this.loadings.all()) {
await expect(loading).toBeHidden();
}
await selector.click();
const targetOrganizationOption = this.page.getByRole('option', { name: orgName });
await expect(targetOrganizationOption).toBeVisible();
Expand Down

0 comments on commit eb2617c

Please sign in to comment.