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

QA/tests for new Global and Policy-guidance search sitemaps #5770

Closed
12 of 14 tasks
Tracked by #104
johnnyporkchops opened this issue Jun 14, 2023 · 1 comment
Closed
12 of 14 tasks
Tracked by #104

QA/tests for new Global and Policy-guidance search sitemaps #5770

johnnyporkchops opened this issue Jun 14, 2023 · 1 comment
Assignees
Labels
Global Search Global Search Guidance Search Work associated with Executive Order requiring Policy and Guidance search page Work: Content Work: Front-end Work: Scheduling meetings
Milestone

Comments

@johnnyporkchops
Copy link
Contributor

johnnyporkchops commented Jun 14, 2023

Summary

QA for Global Sitemap and Policy Guidance search.

Related issues/PRs

Issues:

PR:

Completion criteria

  • Brief meeting with content team to clarify the new process for Policy guidance documents and webpages.
  • Test/practice adding new document for Policy guidance search
    • Content team member tests uploading a new document to Wagtail on dev space.
    • Add the document to the sitemap_pdf.xml and update the xml in Wagtail.
    • Developers test moving document to 'policy-guidance/' folder on dev S3.
    • Confirm that this new item is reflected in Policy guidance search on dev
  • Test/practice adding new webpage for Policy guidance search
    • Content team member tests creating a new policy-guidance webpage, aliasing this page under the updates/guidance-search/ parent on dev space.
    • Add the page to the sitemap_html.xml and update the xml in Wagtail.
    • Confirm that this new item is reflected in Policy guidance search on dev
  • Content team and developers confirm searches using the global site search box and the policy-guidance search box return expected results
  • Developers confirm that sitemaps are indexed as expected by search.gov
  • Step-by-step of new procedure is added to Content team's documentation (issue created Update documentation for search-sitemaps #5842)

Tech steps or considerations

  • Content team will reach out to departments with new URLS for policy-guidance documents and update links in source materials for new URL paths.
  • Content team will put in ticket to redirect all the pdfs to the new locations in proxy (don't need to redirect aliased html pages)
  • The feature/5572-test-sitemap-on-dev branch must be pushed to dev space to test
  • May have to ask for search.gov to manually kickoff an indexing outside of usual schedule to reflect new pages or docs in search
  • Hard refresh/clear browser history/new incognito window to make sure test searches reflect latest state of index
  • Beware that the link from the sidebar on https://dev.fec.gov/legal-resources/policy-other-guidance/ that says "Search guidance documents" is an absolute link and will take you to www -- make sure your on dev(threw me off a couple of times)

Future work

Launch sitemaps. Separate ticket to come...

  • Add new directories to prod Wagtail and S3
  • Use dev-testing PR or make a fresh one? Original PR is too divergent at this point.
@johnnyporkchops johnnyporkchops added Work: Front-end Work: Content Work: Scheduling meetings Global Search Global Search Guidance Search Work associated with Executive Order requiring Policy and Guidance search page labels Jun 14, 2023
@pkfec pkfec added this to the Sprint 22.1 milestone Jun 15, 2023
This was referenced Jun 19, 2023
@djgarr djgarr modified the milestones: Sprint 22.2, Sprint 22.3 Aug 1, 2023
@johnnyporkchops
Copy link
Contributor Author

Extensive QA with devs and content team (for both global and policy-guidance) and coordinated tests with search.gov in this test PR confirm that the configuration and search results are working as expected.
We are ready to launch in production. Issue: #5775

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Global Search Global Search Guidance Search Work associated with Executive Order requiring Policy and Guidance search page Work: Content Work: Front-end Work: Scheduling meetings
Projects
None yet
Development

No branches or pull requests

6 participants