ualbertalib / DMPonline_v4

New code for DMPonline developed by DCC
dmponline.dcc.ac.uk
GNU Affero General Public License v3.0
4 stars 30 forks source link

Export text in PDF (Build failed in Jenkins) #10

Closed pgwillia closed 10 years ago

pgwillia commented 10 years ago

I expect that the change to questions just changed the page number.

1) Export Plan export plan as pdf with admin details Failure/Error: reader.page(2).text.should include("Responsibilities and Resources") expected "Please list the metadata standard and tools you will use to document and\ndescribe your data. If there is not an appropriate standard, please explain how\nyou will ensure consistency in your documentation.\n\n\nQuestion not answered.\n\nHow will you make sure that documentation is created or captured consistently\nthroughout your project?\n\n\nQuestion not answered.\n\nStorage and Backup\n\nHow will your data be stored and backed up during your research project?\n\n\nQuestion not answered.\n\nHow will you ensure that sensitive data is stored securely and only accessible to\nthe research team during the research project?\n\n\nQuestion not answered.\n\nPreservation\n\nWhich data are selected for preservation and access will depend on potential\n\nreuse value, whether there are obligations to either retain or destroy data, and\nthe resources required to properly curate the data and ensure that it remains\nusable in the future. In some circumstances, it may be feasible to preserve all\n\nversions of the data (e.g. raw, processed, analyzed, final), but in others, it may be\npreferable to only keep only selected data (e.g. transcripts instead of audio\ninterviews).\n\n\nQuestion not answered.\n\nAt the end of your research project, where will you deposit your data for long-\nterm preservation and access?\n\n\nQuestion not answered.\n\nPlease describe how you will prepare the data for preservation and access,\nincluding any necessary procedures for data cleaning, normalization or de-\n\nidentification. Explain how you will prevent data from being lost while processing\nand converting files.\n\nQuestion not answered.\n\n\nData Sharing and Reuse" to include "Responsibilities and Resources"

2) Export Plan export plan as pdf without admin details Failure/Error: reader.page(2).text.should include("Responsibilities and Resources") expected "How will you make sure that documentation is created or captured consistently\nthroughout your project?\n\nQuestion not answered.\n\n\nStorage and Backup\n\nHow will your data be stored and backed up during your research project?\n\nQuestion not answered.\n\n\nHow will you ensure that sensitive data is stored securely and only accessible to\nthe research team during the research project?\n\nQuestion not answered.\n\n\nPreservation\n\nWhich data are selected for preservation and access will depend on potential\n\nreuse value, whether there are obligations to either retain or destroy data, and\nthe resources required to properly curate the data and ensure that it remains\nusable in the future. In some circumstances, it may be feasible to preserve all\nversions of the data (e.g. raw, processed, analyzed, final), but in others, it may be\n\npreferable to only keep only selected data (e.g. transcripts instead of audio\ninterviews).\n\nQuestion not answered.\n\n\nAt the end of your research project, where will you deposit your data for long-\nterm preservation and access?\n\nQuestion not answered.\n\n\nPlease describe how you will prepare the data for preservation and access,\nincluding any necessary procedures for data cleaning, normalization or de-\nidentification. Explain how you will prevent data from being lost while processing\n\nand converting files.\n\nQuestion not answered.\n\nData Sharing and Reuse\n\n\nWhat data will you be sharing and in what form? (e.g. raw, processed, analyzed,\nfinal). Consider which data may need to be shared in order to meet institutional\nor funding requirements, and which data may be restricted because of\n\nconfidentiality/privacy issues.\n\nQuestion not answered." to include "Responsibilities and Resources"

weiweishi commented 10 years ago

Is it possible to change the test so it's independent from the template content?

On Thu, Jun 26, 2014 at 9:26 AM, pgwillia notifications@github.com wrote:

I expect that the change to questions just changed the page number.

1) Export Plan export plan as pdf with admin details Failure/Error: reader.page(2).text.should include("Responsibilities and Resources") expected "Please list the metadata standard and tools you will use to document and\ndescribe your data. If there is not an appropriate standard, please explain how\nyou will ensure consistency in your documentation.\n\n\nQuestion not answered.\n\nHow will you make sure that documentation is created or captured consistently\nthroughout your project?\n\n\nQuestion not answered.\n\nStorage and Backup\n\nHow will your data be stored and backed up during your research project?\n\n\nQuestion not answered.\n\nHow will you ensure that sensitive data is stored securely and only accessible to\nthe research team during the research project?\n\n\nQuestion not answered.\n\nPreservation\n\nWhich data are selected for preservation and access will depend on potential\n\nreuse value, whether there are obligations to either retain or destroy data, and\nthe resources required to properly curate the data and ensure that it remains\nusable in the future. In some circumstances, it may be fe asible t o preserve all\n\nversions of the data (e.g. raw, processed, analyzed, final), but in others, it may be\npreferable to only keep only selected data (e.g. transcripts instead of audio\ninterviews).\n\n\nQuestion not answered.\n\nAt the end of your research project, where will you deposit your data for long-\nterm preservation and access?\n\n\nQuestion not answered.\n\nPlease describe how you will prepare the data for preservation and access,\nincluding any necessary procedures for data cleaning, normalization or de-\n\nidentification. Explain how you will prevent data from being lost while processing\nand converting files.\n\nQuestion not answered.\n\n\nData Sharing and Reuse" to include "Responsibilities and Resources"

2) Export Plan export plan as pdf without admin details Failure/Error: reader.page(2).text.should include("Responsibilities and Resources") expected "How will you make sure that documentation is created or captured consistently\nthroughout your project?\n\nQuestion not answered.\n\n\nStorage and Backup\n\nHow will your data be stored and backed up during your research project?\n\nQuestion not answered.\n\n\nHow will you ensure that sensitive data is stored securely and only accessible to\nthe research team during the research project?\n\nQuestion not answered.\n\n\nPreservation\n\nWhich data are selected for preservation and access will depend on potential\n\nreuse value, whether there are obligations to either retain or destroy data, and\nthe resources required to properly curate the data and ensure that it remains\nusable in the future. In some circumstances, it may be feasible to preserve all\nversions of the data (e.g. raw, processed, analyzed, final), but in others, it may be\n\npreferable to only keep only selected data (e.g. transcripts instead of audio\ninterviews).\n\nQuestion not answered.\n\n\nA t the en d of your research project, where will you deposit your data for long-\nterm preservation and access?\n\nQuestion not answered.\n\n\nPlease describe how you will prepare the data for preservation and access,\nincluding any necessary procedures for data cleaning, normalization or de-\nidentification. Explain how you will prevent data from being lost while processing\n\nand converting files.\n\nQuestion not answered.\n\nData Sharing and Reuse\n\n\nWhat data will you be sharing and in what form? (e.g. raw, processed, analyzed,\nfinal). Consider which data may need to be shared in order to meet institutional\nor funding requirements, and which data may be restricted because of\n\nconfidentiality/privacy issues.\n\nQuestion not answered." to include "Responsibilities and Resources"

— Reply to this email directly or view it on GitHub https://github.com/ualbertalib/DMPonline_v4/issues/10.

pgwillia commented 10 years ago

Good idea. Wanted to check that all the content was present in the PDF so checked for the last heading. Will visit the edit page to collect section headings to test for and ensure that there are no hard coded page numbers.