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

Add Cucumber scenario for manuals-publisher #258

Merged
merged 1 commit into from
Apr 20, 2017
Merged

Add Cucumber scenario for manuals-publisher #258

merged 1 commit into from
Apr 20, 2017

Conversation

chrisroos
Copy link
Contributor

@chrisroos chrisroos commented Apr 20, 2017

This follows the pattern of the other publishing tests.

One of the motivations for adding a Smoke test was to catch the sort of timeout
problem we saw recently where the /manuals index page was taking too
long to load. Unfortunately, I don't think this test would've caught
that problem because the test signon user doesn't have any manuals to
load! Irrespective, I still think it's useful to have this sort of test
to ensure we get an early warning if we've really broken something.

The test signon user has the manuals-publisher permission. You can run
this test locally by using the signon credentials stored in the Smokey
job configuration in the integration Jenkins instance.

I've set the scenario as @high priority which means (if I understand the
README
correctly) that it'll generate a pager alert if it fails. This
is the same priority as the other scenarios in this feature although
it's not obvious to me that it's definitely the right thing to do.

This follows the pattern of the other publishing tests.

One of the motivations for adding a Smoke test was to catch the sort of timeout
problem we saw recently where the /manuals index page was taking too
long to load. Unfortunately, I don't think this test would've caught
that problem because the test signon user doesn't have any manuals to
load! Irrespective, I still think it's useful to have this sort of test
to ensure we get an early warning if we've really broken something.

The test signon user has the manuals-publisher permission. You can run
this test locally by using the signon credentials stored in the Smokey
job configuration in the integration Jenkins instance.

I've set the scenario as `@high` priority which means (if I understand the
README[1] correctly) that it'll generate a pager alert if it fails. This
is the same priority as the other scenarios in this feature although
it's not obvious to me that it's definitely the right thing to do.

[1]:
https://github.com/alphagov/smokey/blob/master/README.md#prioritising-scenarios
Copy link
Contributor

@floehopper floehopper left a comment

Choose a reason for hiding this comment

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

Looks like a step forward to me.

@chrisroos
Copy link
Contributor Author

Thanks @floehopper. I'm going to get this merged.

@chrisroos chrisroos merged commit fa42dfc into alphagov:master Apr 20, 2017
@chrisroos chrisroos deleted the add-test-for-manuals-publisher branch April 20, 2017 16:04
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