@aml-org/amf-custom-validator-web 1.6.0-test → 1.7.0-SNAPSHOT.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,14 @@
|
|
1
|
+
/// <reference types="cypress" />
|
2
|
+
|
3
|
+
describe('withConfiguration', () => {
|
4
|
+
it('should render report', () => {
|
5
|
+
cy.visit('cypress/html/withConfiguration.html')
|
6
|
+
|
7
|
+
let dateText = "does not have date"
|
8
|
+
let reportSchema = "http://a.ml/report#/declarations/"
|
9
|
+
let lexicalSchema = "http://a.ml/lexical#/declarations/"
|
10
|
+
let expectedText = `${dateText}, ${reportSchema}, ${lexicalSchema}`
|
11
|
+
|
12
|
+
cy.get('#report').should('have.text', expectedText)
|
13
|
+
})
|
14
|
+
})
|