@aml-org/amf-custom-validator-web 0.1.0-WEBPACK.14 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,12 @@
1
+ <html lang="eng">
2
+ <head>
3
+ <title>Tests</title>
4
+ </head>
5
+ <body>
6
+ <pre id="report"></pre>
7
+ <script src="../../test/out/double.js"></script>
8
+ <script>
9
+ test.run()
10
+ </script>
11
+ </body>
12
+ </html>
@@ -0,0 +1,12 @@
1
+ <html lang="eng">
2
+ <head>
3
+ <title>Tests</title>
4
+ </head>
5
+ <body>
6
+ <pre id="report"></pre>
7
+ <script src="../../test/out/simple.js"></script>
8
+ <script>
9
+ test.run()
10
+ </script>
11
+ </body>
12
+ </html>
@@ -0,0 +1,8 @@
1
+ /// <reference types="cypress" />
2
+
3
+ describe('double', () => {
4
+ it('should render report', () => {
5
+ cy.visit('cypress/html/double.html')
6
+ cy.get('#report').should('include.text', "\"conforms\": false")
7
+ })
8
+ })
@@ -0,0 +1,8 @@
1
+ /// <reference types="cypress" />
2
+
3
+ describe('simple', () => {
4
+ it('should render report', () => {
5
+ cy.visit('cypress/html/simple.html')
6
+ cy.get('#report').should('include.text', "\"conforms\": false")
7
+ })
8
+ })
package/cypress.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "fixturesFolder": false,
3
+ "pluginsFile": false,
4
+ "supportFile": false,
5
+ "downloadsFolder": "cypress/downloads",
6
+ "video": false,
7
+ "screenshotOnRunFailure": false
8
+ }