Skip to content

Run regression spec against preview site#353

Merged
aduth merged 2 commits intomainfrom
aduth-regression-preview-site
May 2, 2023
Merged

Run regression spec against preview site#353
aduth merged 2 commits intomainfrom
aduth-regression-preview-site

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented May 1, 2023

Why? So that it'll continue to work after the main design.login.gov site is decommissioned.

Also updates a few other internal references to https://design.login.gov which would break after the site is taken offline.

aduth added 2 commits May 1, 2023 15:54
Why? So that it'll continue to work after the main design.login.gov site is decommissioned.
Since it'll be different between preview environments affected by visual regression spec
@aduth
Copy link
Contributor Author

aduth commented May 1, 2023

There'll be an initial visual regression failure here since the "live" site doesn't yet have the change from ad24970 and will include the site's baseurl in code snippets (see example before and after).

Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines +13 to +14
const REMOTE_HOST =
'https://federalist-340d8801-aa16-4df5-ad22-b1e3e731098e.sites.pages.cloud.gov/site/18f/identity-design-system';
Copy link
Contributor

Choose a reason for hiding this comment

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

WDYT of trying to have this do a git checkout main or something instead of continuing to rely on federalist? My expectation is that by shutting down design.login.gov we'd remove everything published?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For the near term, I'm expecting we'll continue to use Federalist to be able to use the branch preview functionality, even if the main https://design.login.gov site will start to show a 404 (which, per #333 (comment), is still going to be hosted by Federalist).

Copy link
Contributor

Choose a reason for hiding this comment

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

sounds good!

@aduth aduth merged commit c45f684 into main May 2, 2023
@aduth aduth deleted the aduth-regression-preview-site branch May 2, 2023 18:45
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.

2 participants