1 ///<reference path="../../../node_modules/cypress/types/index.d.ts"/> / <reference types="Cypress" />
3 import {JsonBuilder} from "../../support/jsonBuilders/jsonBuilder";
4 import {ServiceModel} from "../../support/jsonBuilders/models/service.model";
6 describe('Welcome page', function () {
7 var jsonBuilderAndMock : JsonBuilder<ServiceModel> = new JsonBuilder<ServiceModel>();
9 //describe('Contact us', () => {
19 it(`verifying Contact Us link"`, function () {
20 cy.visit('/welcome.htm');
21 cy.get('A[href="mailto:VID-Tier4@list.att.com"]').contains('Contact Us');
24 it(`verifying VID version"`, function () {
26 const APP_VERSION = "1902.1948";
27 cy.readFile('cypress/support/jsonBuilders/mocks/jsons/version.json').then((res) => {
28 jsonBuilderAndMock.basicJson(res,
29 Cypress.config('baseUrl') + '/version',
34 cy.visit('/welcome.htm');
35 cy.getElementByDataTestsId('app-version').should("text", APP_VERSION);