Skip to content

thiagodp/concordialang-codeceptjs-core

Repository files navigation

Build Status npm version GitHub last commit

concordialang-codeceptjs-core

Core modules of a Concordia Compiler plug-in for CodeceptJS

Installation

npm i concordialang-codeceptjs-core

Related

Compatibility with Concordia Compiler

Integration with CodeceptJS

Test Events

Concordia declaration CodeceptJS support (method/other)
Before All Manually, through hooks. See hooks.
After All Manually, through hooks. See hooks.
Before Feature BeforeSuite
After Feature AfterSuite
Before Each Scenario Before or Background
After Each Scenario After

Concordia Actions

The following table lists the support to the Concordia Language Actions. The corresponding CodeceptJS commands work with both WebDriverIO and Appium.

Note: A tick (βœ“) means "checked with a unit test".

Concordia action CodeceptJS command
- _locate
- _locateCheckable
- _locateClickable
- _locateFields
accept + ( alert OR confirm OR popup OR prompt ) acceptPopup βœ“
amOn amOnPage βœ“
append appendField βœ“
attachFile attachFile βœ“
cancel + ( alert OR confirm OR popup OR prompt ) cancelPopup βœ“
check checkOption βœ“
clear + cookie clearCookie βœ“
clear clearField βœ“
click click βœ“
close + app closeApp βœ“ (Appium only)
close + currentTab closeCurrentTab βœ“
close + otherTabs closeOtherTabs βœ“
connect + database N/A - supported via dbhelper
- defineTimeout
disconnect + database N/A - supported via dbhelper
not + see dontSee βœ“
not + see + checkbox dontSeeCheckboxIsChecked βœ“
not + see + cookie dontSeeCookie βœ“
not + see + url dontSeeCurrentUrlEquals βœ“
not + see + ( uielement OR uiliteral ) dontSeeElement βœ“
- dontSeeElementInDOM
not + see + ( inside OR with ) + url dontSeeInCurrentUrl βœ“
not + see + ( textbox OR textarea ) dontSeeInField βœ“
- dontSeeInSource
not + see + title dontSeeInTitle βœ“
doubleClick doubleClick βœ“
drag dragAndDrop βœ“
- executeAsyncScript
- executeScript
fill fillField βœ“
- grabAttributeFrom
- grabBrowserLogs
- grabCookie
- grabCssPropertyFrom
- grabCurrentUrl
- grabHTMLFrom
- grabNumberOfOpenTabs
- grabNumberOfVisibleElements
- grabPageScrollPosition
- grabPopupText
- grabSource
- grabTextFrom
- grabTitle
- grabValueFrom
hide + keyboard hideDeviceKeyboard βœ“ (Appium only)
install + app installApp βœ“ (Appium only)
- locator
maximize + window resizeWindow( 'maximize' ) βœ“
move + cursor moveCursorTo βœ“
mouseOut -
mouseOver -
open + new tab openNewTab
open + notifications openNotifications βœ“ (Appium only)
press pressKey βœ“
pull + file pullFile βœ“ (Appium only)
refresh + currentPage refreshPage βœ“
refresh + url
remove + app removeApp βœ“ (Appium only)
resize + window resizeWindow βœ“
rightClick rightClick βœ“
run + command N/A - supported via cmdhelper
run + script N/A - supported via dbhelper
- runInWeb
- runOnAndroid
- runOnIOS
saveScreenshot saveScreenshot βœ“
- scrollTo
see see βœ“
see + app + installed seeAppIsInstalled βœ“ (Appium only)
see + app + installed + not seeAppIsNotInstalled βœ“ (Appium only)
see + ( uielement OR uiliteral ) + attribute + value seeAttributesOnElements βœ“
see + ( uielement OR uiliteral ) + class + value (same as above)
see + ( uielement OR uiliteral ) + style + value (same as above)
see + checkbox seeCheckboxIsChecked βœ“
see + cookie seeCookie βœ“
- seeCssPropertiesOnElements
see + currentActivity + value seeCurrentActivityIs βœ“ (Appium only)
see + device + locked seeDeviceIsLocked βœ“ (Appium only)
see + device + unlocked seeDeviceIsUnlocked βœ“ (Appium only)
see + ( with OR inside ) + url seeCurrentUrlEquals βœ“
see + ( uielement OR uiliteral ) seeElement βœ“
- seeElementInDOM
see + inside + url seeInCurrentUrl βœ“
see + ( textbox OR textarea ) seeInField βœ“
- seeInPopup
- seeInSource
see + title seeInTitle βœ“
- seeNumberOfElements
- seeNumberOfVisibleElements
see + orientation + landscape seeOrientationIs("LANDSCAPE") βœ“ (Appium only)
see + orientation + portrait seeOrientationIs("PORTRAIT") βœ“ (Appium only)
- seeTextEquals
- seeTitleEquals
select selectOption βœ“
- setCookie
shake shakeDevice βœ“ (Appium only)
show -
swipe + values swipe βœ“ (Appium only)
swipe + down swipeDown βœ“ (Appium only)
swipe + left swipeLeft βœ“ (Appium only)
swipe + right swipeRight βœ“ (Appium only)
swipe + up swipeUp βœ“ (Appium only)
swipe + targets swipeTo βœ“ (Appium only)
switch + frame switchTo('iframe') βœ“
switch + locator switchTo βœ“
switch + native switchToNative βœ“ (Appium only)
switch + web switchToWeb βœ“ (Appium only)
switch + tab + number switchToNextTab βœ“
switch + next + tab switchToNextTab βœ“
switch + previous + tab switchToPreviousTab βœ“
tap tap βœ“ (Appium only)
uncheck uncheckOption βœ“
wait + number wait βœ“
- waitForDetached
wait + uielement waitForElement βœ“
wait + enabled + ( uielement OR uiliteral ) waitForEnabled βœ“
wait + invisible + ( uielement OR uiliteral ) waitForInvisible βœ“
wait + text + value waitForText βœ“
wait + option value + value waitForValue βœ“
wait + visible + ( uielement OR uiliteral ) waitForVisible βœ“
- waitInUrl
- waitNumberOfVisibleElements βœ“
wait + hide + ( uielement OR uiliteral ) waitToHide βœ“
- waitUntil
wait + url + value waitUrlEquals βœ“

License

AGPL Β© Thiago Delgado Pinto

GNU Affero General Public License version 3