Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/update-tests-to-new-archetype #147

Merged
merged 4 commits into from
Jul 15, 2022

Conversation

mavmaf
Copy link
Contributor

@mavmaf mavmaf commented Jul 14, 2022

Motivation and context

Several tests were failing after new restyled archetype was released, mainly due to components being hidden from the main layout, new text literals and the sub-header dynamic behaviour that Cypress doesn't fancy. For more details please check the task description, where failed tests and failure description are listed.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that causes existing functionality to not work as expected)
  • Change requires a documentation update

What is the destination branch of this PR?

  • Main
  • Other. Specify:

Checklist:

  • My code follows the style guidelines of this project.
  • I have performed a self-review on my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.

@mavmaf mavmaf requested a review from a team as a code owner July 14, 2022 12:38
.children(`.x-column-picker-list__item--${columns}-cols`)
.should('be.visible')
.click();
cy.get(`.x-column-picker-list__item--${columns}-cols`).click({ scrollBehavior: false });
Copy link
Contributor

Choose a reason for hiding this comment

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

If we're not using the .getByDataTest('column-picker-list') here then change the test below to use the same formula as this one.

Copy link
Contributor

@luismmdev luismmdev left a comment

Choose a reason for hiding this comment

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

good job!

@CachedaCodes CachedaCodes merged commit f439cb1 into main Jul 15, 2022
@CachedaCodes CachedaCodes deleted the feature/EX-6468-update-tests-to-new-archetype branch July 15, 2022 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants