Core modules of a Concordia Compiler plug-in for CodeceptJS
npm i concordialang-codeceptjs-core- concordialang-codeceptjs-playwright
- concordialang-codeceptjs-testcafe
- concordialang-codeceptjs-webdriverio
- concordialang-codeceptjs-appium
- Version
1.xis compatible with Concordia Compiler2.x - Version
0.xis compatible with Concordia Compiler1.x
| 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 |
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 β |
