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

Remove unnecessary bedrock tests and fix broken redirect tests #22

Merged
merged 3 commits into from
Oct 23, 2023

Conversation

jswinarton
Copy link
Contributor

@jswinarton jswinarton commented Oct 23, 2023

Get the tests passing again. Fixes VPN-5517.

After discussion with @alexgibson and Rebecca B last week, we determined that Bedrock already has a robust suite of tests that assert against various content elements on the VPN landing page, and there is no need for us to maintain a separate set of tests that ultimately do the same thing. Therefore, these have been removed.

There were a couple redirect tests that had also gone out of date due to FPN sunset related changes, so those have also been fixed.

@jswinarton jswinarton changed the title Remove unnecessary bedrock tests Remove unnecessary bedrock tests and fix broken redirect tests Oct 23, 2023
@@ -198,7 +198,7 @@ testScenarios.forEach((scenario) => {
test(`Verify redirect for ${baseUrl}/r/vpn/update/ios, C1539669`, async () => {
await verifyRedirectUrl(
`${baseUrl}/r/vpn/update/ios`,
'https://apps.apple.com/us/app/firefox-private-network-vpn/id1489407738'
'https://apps.apple.com/us/app/mozilla-vpn-secure-private/id1489407738'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure when this changed, but it was not a Guardian change -- the former is now a redirect to the latter (and redirect tests here assert against the last redirect URL in the chain). I would presume this changed as part of the FPN removal.

@jswinarton jswinarton marked this pull request as ready for review October 23, 2023 18:57
@jswinarton jswinarton merged commit aca9fd3 into main Oct 23, 2023
1 check passed
@jswinarton jswinarton deleted the remove-unnecessary-bedrock-tests branch October 23, 2023 21:23
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.

None yet

2 participants