Commit e5cab11c authored by Benjamin Rousselière's avatar Benjamin Rousselière
Browse files

feat/cypress : update tests

parent 5ea9fb36
......@@ -2,7 +2,7 @@
<div class="panel panel-default">
<div class="panel-heading" role="tab">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" href="#archive[?merge .archiveId ?][?merge .id ?]" aria-expanded="true" aria-controls="collapseOne" class="collapsed">
<a class="archiveMoreInformations" role="button" data-toggle="collapse" href="#archive[?merge .archiveId ?][?merge .id ?]" aria-expanded="true" aria-controls="collapseOne" class="collapsed">
Archive : <?merge .name ?>
</a>
</h4>
......@@ -20,7 +20,7 @@
</dd>
</dl>
<!-- Archive information -->
<div data-translate-catalog="recordsManagement/messages">
<div class="archiveMoreInformationsDiv" data-translate-catalog="recordsManagement/messages">
<dl class="dl-horizontal">
<?merge .archivalProfile.bool() ?>
<span>
......
......@@ -2,12 +2,12 @@
<div class="panel panel-success">
<div class="panel-heading" role="tab">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" href="#descriptiveMetadata[?merge .id ?]" aria-expanded="true" aria-controls="collapseOne" data-translate-catalog="medona/messages">
<a class="contentDescriptionButton" role="button" data-toggle="collapse" href="#descriptiveMetadata[?merge .id ?]" aria-expanded="true" aria-controls="collapseOne" data-translate-catalog="medona/messages">
Description du contenu
</a>
</h4>
</div>
<div id="descriptiveMetadata[?merge .id ?]" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
<div class="contentDescriptionDiv" id="descriptiveMetadata[?merge .id ?]" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
<div class="panel-body">
<?merge .contentDescription.originatingAgency.bool() ?>
<div>
......
......@@ -3,7 +3,7 @@
<div class="panel panel-info">
<div class="panel-heading" role="tab">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" href="#document[?merge .id ?]" aria-expanded="true" aria-controls="collapseOne">
<a class="archiveDocumentButton" role="button" data-toggle="collapse" href="#document[?merge .id ?]" aria-expanded="true" aria-controls="collapseOne">
<?merge .attachment.filename.bool() ?>
<span>Document : <?merge .attachment.filename ?></span>
<?merge .attachment.filename.bool().not() ?>
......@@ -11,7 +11,7 @@
</a>
</h4>
</div>
<div id="document[?merge .id ?]" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne" data-translate-catalog="recordsManagement/messages">
<div class="archiveDocumentDiv" id="document[?merge .id ?]" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne" data-translate-catalog="recordsManagement/messages">
<div class="panel-body">
<dl class="dl-horizontal">
<?merge .attachment.id.bool() ?>
......
......@@ -2,12 +2,12 @@
<div class="panel panel-warning">
<div class="panel-heading" role="tab">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" href="#managementMetadata[?merge .id ?]" aria-expanded="true" aria-controls="collapseOne" data-translate-catalog="medona/messages">
<a class="managementMetadataButton" role="button" data-toggle="collapse" href="#managementMetadata[?merge .id ?]" aria-expanded="true" aria-controls="collapseOne" data-translate-catalog="medona/messages">
Management metadata
</a>
</h4>
</div>
<div id="managementMetadata[?merge .id ?]" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
<div class="managementMetadataDiv" id="managementMetadata[?merge .id ?]" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
<div class="panel-body">
<?merge .appraisalRule.bool() ?>
<dl class="dl-horizontal" data-translate-catalog="medona/messages">
......
......@@ -4,23 +4,23 @@
<div class="panel panel-default">
<div class="panel-heading" role="tab">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" href="#archive[?merge $archiveCollapsId ?]" aria-expanded="true" aria-controls="collapseOne" class="collapsed">
<a role="button" data-toggle="collapse" href="#archive[?merge $archiveCollapsId ?]" aria-expanded="true" aria-controls="collapseOne" class="collapsed archiveMoreInformations">
Archive : <?merge .id ?>
</a>
</h4>
</div>
<div id="archive[?merge $archiveCollapsId ?]" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne" style="height: 0px;">
<div id="archive[?merge $archiveCollapsId ?]" class="panel-collapse collapse archiveMoreInformationsDiv" role="tabpanel" aria-labelledby="headingOne" style="height: 0px;">
<div class="panel-body">
<div class="panel panel-warning">
<?merge .newId() $managementCollapsId ?>
<div class="panel-heading" role="tab">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" href="#descriptiveMetadata[?merge $managementCollapsId ?]" aria-expanded="true" aria-controls="collapseOne" data-translate-catalog="medona/messages">
<a class="contentDescriptionButton" role="button" data-toggle="collapse" href="#descriptiveMetadata[?merge $managementCollapsId ?]" aria-expanded="true" aria-controls="collapseOne" data-translate-catalog="medona/messages">
Description du contenu <?merge .content.title.bool() ?><span>: <?merge .content.title[0] ?></span>
</a>
</h4>
</div>
<div id="descriptiveMetadata[?merge $managementCollapsId ?]" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
<div id="descriptiveMetadata[?merge $managementCollapsId ?]" class="panel-collapse collapse contentDescriptionDiv" role="tabpanel" aria-labelledby="headingOne">
<div class="panel-body">
<dl class="dl-horizontal" data-translate-catalog="recordsManagement/messages">
<?merge .content.descriptionLevel.bool() ?>
......
{
"messageFilePath" : "ING_IMP_SIP/ArchiveTransfer_9_SEDA2.xml",
"zipFilePath" : "ING_IMP_SIP/ArchiveTransfer_9_SEDA2.zip",
"seda2": {
"messageFilePath" : "files/seda2/ArchiveTransfer_9_SEDA2/ArchiveTransfer_9_SEDA2.xml",
"zipFolderPath" : "files/seda2/ArchiveTransfer_9_SEDA2",
"attachments" : [
"ING_IMP_SIP/F_1.pdf",
"ING_IMP_SIP/F_2.pdf",
"ING_IMP_SIP/F_3.pdf",
"ING_IMP_SIP/F_4.pdf",
"ING_IMP_SIP/F_5.pdf",
"ING_IMP_SIP/F_6.pdf",
"ING_IMP_SIP/F_7.pdf",
"ING_IMP_SIP/F_8.pdf",
"ING_IMP_SIP/F_9.pdf"
"files/seda2/ArchiveTransfer_9_SEDA2/F_1.pdf",
"files/seda2/ArchiveTransfer_9_SEDA2/F_2.pdf",
"files/seda2/ArchiveTransfer_9_SEDA2/F_3.pdf",
"files/seda2/ArchiveTransfer_9_SEDA2/F_4.pdf",
"files/seda2/ArchiveTransfer_9_SEDA2/F_5.pdf",
"files/seda2/ArchiveTransfer_9_SEDA2/F_6.pdf",
"files/seda2/ArchiveTransfer_9_SEDA2/F_7.pdf",
"files/seda2/ArchiveTransfer_9_SEDA2/F_8.pdf",
"files/seda2/ArchiveTransfer_9_SEDA2/F_9.pdf"
],
"randomFiles" : [
"ING_IMP_SIP/0017_1143635989.pdf",
"ING_IMP_SIP/F_0.docx"
"files/seda2/0017_1143635989.pdf",
"files/seda2/F_0.docx"
]
},
"seda1": {
"messageFilePath" : "files/seda1/ArchiveTransfer_Actes_01_SEDA1.xml",
"zipFolderPath" : "files/seda1",
"attachments" : [
"files/seda1/F_0.pdf"
]
}
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<ArchiveTransfer xmlns="fr:gouv:culture:archivesdefrance:seda:v1.0">
<Date>2016-09-21T18:45:28+02:00</Date>
<TransferIdentifier>ArchiveTransfer_Actes_SEDA1</TransferIdentifier>
<ArchivalAgency>
<BusinessType>8413Z</BusinessType>
<Description>Archivage Conversation et Mémoire Electronique</Description>
<Identification>ACME_ARCHIVE</Identification>
<LegalClassification>Autre syndicat mixte</LegalClassification>
<Name>ACME</Name>
<Address>
<BuildingNumber>42</BuildingNumber>
<CityName>NANTERRE</CityName>
<Country listVersionID="second edition 2006">FR</Country>
<Postcode>92000</Postcode>
<StreetName>rue des Jardins</StreetName>
</Address>
<Communication>
<Channel listVersionID="D10A">TE</Channel>
<CompleteNumber>04 92 96 80 80</CompleteNumber>
</Communication>
<Communication>
<Channel listVersionID="D10A">FX</Channel>
<CompleteNumber>04 92 96 92 96</CompleteNumber>
</Communication>
<Communication>
<Channel listVersionID="D10A">EM</Channel>
<URIID>maarch@maarg.org</URIID>
</Communication>
<Contact>
<DepartmentName>Maarch</DepartmentName>
<Identification>Bblier_Maarch</Identification>
<PersonName>Bernard BLIER</PersonName>
<Responsibility>Responsable du service de tiers-archivage</Responsibility>
<Address>
<BuildingNumber>42</BuildingNumber>
<CityName>Nanterre</CityName>
<Country listVersionID="second edition 2006">FR</Country>
<Postcode>92000</Postcode>
<StreetName>rue des Jardins</StreetName>
</Address>
<Communication>
<Channel listVersionID="D10A">TE</Channel>
<CompleteNumber>06 10 12 34 56 78</CompleteNumber>
</Communication>
<Communication>
<Channel listVersionID="D10A">EM</Channel>
<URIID>maarch@maarg.org</URIID>
</Communication>
</Contact>
</ArchivalAgency>
<TransferringAgency>
<Identification>MAARCH_LES_BAINS_SA</Identification>
<Name>Maarch les Bains Service Versant</Name>
<Address>
<BuildingNumber>71</BuildingNumber>
<CityName>Lyon</CityName>
<Country listVersionID="second edition 2006">FR</Country>
<Postcode>69009</Postcode>
<StreetName>rue Banaudon</StreetName>
</Address>
</TransferringAgency>
<Archive>
<ArchivalAgreement>MAARCH_LES_BAINS_ACTES</ArchivalAgreement>
<ArchivalProfile>actes</ArchivalProfile>
<DescriptionLanguage listVersionID="edition 2011">fra</DescriptionLanguage>
<Name>Transfert de test seda V1 (1 archive)</Name>
<ContentDescription>
<DescriptionLevel listVersionID="edition 2009">item</DescriptionLevel>
<FilePlanPosition>classement_1</FilePlanPosition>
<FilePlanPosition>classement_2</FilePlanPosition>
<Language listVersionID="edition 2011">fra</Language>
<LatestDate>2010-12-31</LatestDate>
<OldestDate>2000-01-01</OldestDate>
<AccessRestrictionRule>
<Code listVersionID="edition 2009">AR038</Code>
<StartDate>2016-09-21</StartDate>
</AccessRestrictionRule>
<Keyword>
<KeywordContent>FedISA</KeywordContent>
<KeywordType listVersionID="edition 2009">corpname</KeywordType>
<AccessRestrictionRule>
<Code listVersionID="edition 2009">AR038</Code>
<StartDate>2016-09-21</StartDate>
</AccessRestrictionRule>
</Keyword>
<Keyword>
<KeywordContent>finances publiques</KeywordContent>
<KeywordType listVersionID="edition 2009">subject</KeywordType>
</Keyword>
<OriginatingAgency>
<Identification>MAARCH_LES_BAINS_SJ</Identification>
<Name>Maarch les Bains Service Juridique</Name>
</OriginatingAgency>
</ContentDescription>
<AccessRestrictionRule>
<Code listVersionID="edition 2009">AR038</Code>
<StartDate>2016-09-21</StartDate>
</AccessRestrictionRule>
<AppraisalRule>
<Code listVersionID="edition 2009">detruire</Code>
<Duration>P1Y</Duration>
<StartDate>2016-09-21</StartDate>
</AppraisalRule>
<Document>
<Attachment format="fmt/477" mimeCode="application/pdf" filename="F_0.pdf"/>
<Integrity algorithme="http://www.w3.org/2001/04/xmlenc#sha256">881f5d56368477b3f2e767647835de161a7461b232259dcd4056efa71b1d4718</Integrity>
<Language listVersionID="edition 2011">fra</Language>
<Size unitCode="AD">1075393</Size>
<Type listVersionID="edition 2009">CDO</Type>
</Document>
</Archive>
</ArchiveTransfer>
<?xml version="1.0" encoding="UTF-8"?>
<ArchiveTransfer xmlns="fr:gouv:culture:archivesdefrance:seda:v2.1">
<Date>2018-01-22T17:22:03+02:00</Date>
<MessageIdentifier>ArchiveTransfer_9_SEDA2</MessageIdentifier>
<MessageIdentifier>1586171113518-604485</MessageIdentifier>
<ArchivalAgreement>MAARCH_LES_BAINS_ACTES_V2_1</ArchivalAgreement>
<CodeListVersions>
<ReplyCodeListVersion>""</ReplyCodeListVersion>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment