NCIOCPL / cgov-digital-platform-qa

QA Automation framework for the Cancer Gov Digital Platform
1 stars 10 forks source link

Fix test data in Breadcrumb, MegaMenu(Nano, MyPART) #217

Closed SupriyaSaxena0605 closed 4 years ago

SupriyaSaxena0605 commented 4 years ago

Fix test data in Breadcrumb, MegaMenu(Nano, MyPART)

Breadcrumb: Remove about-nci/organization/dcb/division-of-cancer-biology-test and news-events/press-releases/2019/brca-exchange-test urls as they dont exist in production

Mega Menu:

blairlearn commented 4 years ago

@SupriyaSaxena0605 - Please provide more detail. What specific test data are you fixing and why?

The data on the test sites does should not be changing, so why do the tests need to change?

SupriyaSaxena0605 commented 4 years ago

@blairlearn I have added details and reason for the change. Please update if these should not change.

blairlearn commented 4 years ago

The content for testing (generally known as "the default content") exercises all of the platform's functionality, but that's the extent of it. (This is why we don't run the automated regression tests against www.cancer.gov.) The content on the environments where automation is run is not intended to mirror production and will never be updated to match production.

The only reasons for modifying the test data are:

The purpose of this issue is to modify test data because the content it tests does not exist on production. As long as the test content exists on the testing environments (e.g. www-dev-ac, www-int-ac, and the various ODEs) there is no need to edit/remove/change the tests.