Skip to content

Conversation

Copilot AI review requested due to automatic review settings August 19, 2025 18:07
@Anemy Anemy requested a review from a team as a code owner August 19, 2025 18:07
@Anemy Anemy added the no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion) label Aug 19, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses test flakiness in the data modeling tab end-to-end tests by replacing brittle synchronous assertions with more robust asynchronous waiting patterns.

  • Replaces isDisplayed() and isExisting() assertions with waitForDisplayed() calls
  • Adds explicit waits for relationship edit buttons before attempting to interact with them
  • Uses waitForDisplayed({ reverse: true }) to wait for element removal instead of checking existence

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Selectors.DataModelCollectionRelationshipItem(relationshipId)
);
expect(await relationshipItem.isDisplayed()).to.be.true;
await relationshipItem.waitForDisplayed();
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@Anemy Anemy merged commit 636c7b7 into main Aug 22, 2025
57 of 58 checks passed
@Anemy Anemy deleted the wait-for-in-data-modeling-e2e-for-flakes branch August 22, 2025 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants