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

Project UI tests: improvements to project gallery ui tests #25254

Merged
merged 1 commit into from
Oct 5, 2018

Conversation

Erin007
Copy link
Contributor

@Erin007 Erin007 commented Oct 5, 2018

The public_project_gallery_project_validator.feature is flaky due to a test order dependency. A recent failure is documented here. This PR includes 3 improvements to the public project gallery tests:

1.) Added a new step to scroll to the Play Lab section of the public gallery. Since the tests in public_project_gallery_project_validator.feature are Play Lab projects, scrolling them into view will make debugging in future SauceLabs tests runs easier.

2.) Specifically look for the first Play Lab project rather than the first project in general when checking featured/published recency by appending the project type to the class for the project name div. This will help ameliorate the test order dependency problem when our UI tests run in parallel.

3.) Assign ProjectAppTypeArea classes based on project type so that the UI tests are more resilient to order changes in the project type sections in the public gallery.

Copy link
Member

@davidsbailey davidsbailey left a comment

Choose a reason for hiding this comment

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

Great improvements, thanks for following through on this!

@Erin007 Erin007 merged commit f866cae into staging Oct 5, 2018
@Erin007 Erin007 deleted the project-gallery-ui-test-improvements branch October 5, 2018 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants