Commit c8c87520 authored by aniket-engg's avatar aniket-engg Committed by Aniket

uncommented tests

parent fe7357e1
......@@ -31,14 +31,14 @@ module.exports = {
.checkElementStyle('*[data-id="editorInput"]', 'font-size', '12px')
},
// 'Should display compile error in editor': function (browser: NightwatchBrowser) {
// browser.waitForElementVisible('*[data-id="editorInput"]')
// .waitForElementVisible('*[class="ace_content"]')
// .click('*[class="ace_content"]')
// .sendKeys('*[class="ace_text-input"]', 'error')
// .pause(2000)
// .waitForElementVisible('.ace_error')
// },
'Should display compile error in editor': function (browser: NightwatchBrowser) {
browser.waitForElementVisible('*[data-id="editorInput"]')
.waitForElementVisible('*[class="ace_content"]')
.click('*[class="ace_content"]')
.sendKeys('*[class="ace_text-input"]', 'error')
.pause(2000)
.waitForElementVisible('.ace_error')
},
'Should minimize and maximize codeblock in editor': function (browser: NightwatchBrowser) {
browser.waitForElementVisible('*[data-id="editorInput"]')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment