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

Fixes wait-on in amp:validate script #1119

Merged
merged 1 commit into from
Jan 3, 2019
Merged

Conversation

bcmn
Copy link
Contributor

@bcmn bcmn commented Jan 2, 2019

Resolves #1109

The wait-on in the amp:validate script hangs because we no longer serve anything on /index.html.

If running curl http://localhost:7080 against latest, you will see the following output:
No route was found for /index.html.

Currently Simorgh has no need for an root-level route, so instead of adding one, this PR changes amp:validate to wait for the same article path as it tests.

  • I have assigned myself to this PR and the corresponding issues
  • Tests added for new features
  • Test engineer approval
  • I have followed the merging checklist and this is ready to merge.

@bcmn bcmn self-assigned this Jan 2, 2019
@codeclimate
Copy link

codeclimate bot commented Jan 2, 2019

Code Climate has analyzed commit 94a104f and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (90% is the threshold).

This pull request will bring the total coverage in the repository to 96.7% (0.0% change).

View more on Code Climate.

Copy link
Contributor

@ChrisBAshton ChrisBAshton left a comment

Choose a reason for hiding this comment

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

Good spot 👍 Nice fix.

@jamesbrumpton
Copy link
Contributor

LGTM 👍

@ChrisBAshton ChrisBAshton merged commit 5559412 into latest Jan 3, 2019
@ChrisBAshton ChrisBAshton deleted the fix-amp-validate branch January 3, 2019 12:00
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.

4 participants