15 lines
640 B
JavaScript
15 lines
640 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('Button Widget Functionality',function(){
|
|
|
|
cy.get(widgetsPage.buttonWidget).click({ force: true })
|
|
//Checking the edit props for Button
|
|
cy.get('.CodeMirror textarea').focus().type("{meta}a").clear({ force: true }).type("{{Text4.text}}", {parseSpecialCharSequences: false})
|
|
cy.get(commonlocators.editPropCrossButton).click()
|
|
})
|
|
}) |