diff --git a/RELEASE.md b/RELEASE.md index 0e5af48..b548af9 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -10,6 +10,12 @@ For information about CoMPAS go to this [site](https://com-pas.github.io/). ## Release notes +### Release 0.7.0 + +Next release for testing the CoMPAS System with all components. +- [OpenSCD CoMPAS Edition](https://github.com/com-pas/compas-open-scd) (Version 0.13.0.0): + - Small fixes and improvements in editors and wizards; + ### Release 0.6.0 Next release for testing the CoMPAS System with all components. diff --git a/compas/docker-compose-basex.yml b/compas/docker-compose-basex.yml index a7d476b..58f2ec1 100644 --- a/compas/docker-compose-basex.yml +++ b/compas/docker-compose-basex.yml @@ -138,7 +138,7 @@ services: open-scd: labels: compas: true - image: "lfenergy/compas-open-scd:v0.12.0.2" + image: "lfenergy/compas-open-scd:v0.13.0.0" healthcheck: test: ["CMD", "curl", "-f", "http://localhost/"] interval: 30s diff --git a/compas/docker-compose-postgresql.yml b/compas/docker-compose-postgresql.yml index 0d798c3..f1be370 100644 --- a/compas/docker-compose-postgresql.yml +++ b/compas/docker-compose-postgresql.yml @@ -145,7 +145,7 @@ services: open-scd: labels: compas: true - image: "lfenergy/compas-open-scd:v0.12.0.2" + image: "lfenergy/compas-open-scd:v0.13.0.0" healthcheck: test: ["CMD", "curl", "-f", "http://localhost/"] interval: 30s diff --git a/integration-testing/TestSuite005-validator.robot b/integration-testing/TestSuite005-validator.robot index 59cbefb..969280b 100644 --- a/integration-testing/TestSuite005-validator.robot +++ b/integration-testing/TestSuite005-validator.robot @@ -27,6 +27,21 @@ TestCase005-01 Execute SCL Validator Open Menu View diagnostics - Get Text mwc-dialog#diagnostic mwc-list-item:nth-child(4) == Validate using OCL - Get Attribute mwc-dialog#diagnostic abbr:nth-child(6) title *= [SCD File] DataTypeTemplates section is mandatory (line 1) - Get Element Count mwc-dialog#diagnostic abbr == 333 + Get Text mwc-dialog#diagnostic > filtered-list > mwc-list-item:nth-child(4) == Validate using OCL + Get Attribute mwc-dialog#diagnostic > filtered-list > abbr:nth-child(6) title *= [SCD File] DataTypeTemplates section is mandatory (line 1) + Get Element Count mwc-dialog#diagnostic > filtered-list > abbr == 332 + +TestCase005-02 + [Documentation] Execute the SCL Validator for XSD Errors. + Set Test Variable ${sclname} XsdValidationErrors + Set Test Variable ${scltype} SCD + + Open Menu Open project + Open local file ${sclname} ${scltype} + + Execute SCL Validator + + Open Menu View diagnostics + Get Text mwc-dialog#diagnostic > filtered-list > mwc-list-item:nth-child(12) == Validate using OCL + Get Attribute mwc-dialog#diagnostic > filtered-list > abbr:nth-child(14) title *= [XSD validation] (line: 32, column: 47): cvc-complex-type.4: Attribute 'type' must appear on element 'DO'. + Get Element Count mwc-dialog#diagnostic > filtered-list > abbr == 11 diff --git a/integration-testing/test-files/XsdValidationErrors.scd b/integration-testing/test-files/XsdValidationErrors.scd new file mode 100644 index 0000000..97f1330 --- /dev/null +++ b/integration-testing/test-files/XsdValidationErrors.scd @@ -0,0 +1,98 @@ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IEC 61850-7-3:2007B + + + + + + + + + + + + + + + + + + + IEC 61850-8-1:2003 + + + + + IEC 61850-8-1:2003 + + + + + IEC 61850-8-1:2003 + + + Completed + Cancelled + New adjustments + AnotherValue + + + Va + Vb + Vc + Aa + Ab + Ac + Vab + Vbc + Vca + AnotherValue + + + \ No newline at end of file