PromucFlow_constructor/app/client/cypress/integration/CommonWidgets/Table_spec.js
2020-03-20 14:21:24 +00:00

15 lines
709 B
JavaScript

var widgetsPage= require('../../locators/Widgets.json')
var loginPage= require('../../locators/LoginPage.json')
const loginData=require('../../fixtures/user.json')
var commonlocators = require('../../locators/commonlocators.json')
context('Cypress test',function() {
it('Table Widget Functionality',function(){
cy.get(widgetsPage.tableWidget).first().trigger('mouseover',{force:true})
cy.get(widgetsPage.tableWidget).children(commonlocators.editicon).first().click()
cy.get('.CodeMirror textarea').focus().type("{meta}a").clear({ force: true }).type("{{MockUsersApi.data}}",{parseSpecialCharSequences: false})
cy.get(commonlocators.editPropCrossButton).click()
})
})