Skip to content

Instantly share code, notes, and snippets.

Auth = require '../auth/auth.po.coffee'
Project = require '../utils/project.po.coffee'
Detail = require '../tabs/detail.po.coffee'
ProtectedArea = require '../forms/protectedAreaCreating.po.coffee'
ddescribe 'Protected area', ->
auth = null
project = null
ptor = protractor.getInstance()
detail = null
for i in [0..3]
console.log expectedNames[i]
for i in [0..3]
detail.get(projectId, expectedUrls[i]).then =>
detail.getActiveTabName().then (tabName) =>
console.log expectedNames[i]
expect(tabName).toBe expectedNames[i]