1.5.2 • Published 4 years ago
concordialang-codeceptjs-core v1.5.2
concordialang-codeceptjs-core
Concordia compiler plug-in core for CodeceptJS
This is not a plug-in, but a plug-in core.
Installation
npm i --save concordialang-codeceptjs-coreDocumentation
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) |
| - | seeAttributesOnElements |
| 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 + 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 ✓ |
See Also
- concordialang-codeceptjs-webdriverio: plugin for CodeceptJS with WebDriverIO
- concordialang-codeceptjs-appium: plugin for CodeceptJS with Appium
- concordialang-plugin: Basic plugin types
- Concordia
License
1.5.2
4 years ago
1.5.1
4 years ago
1.5.0
4 years ago
1.4.2
4 years ago
1.4.1
4 years ago
1.4.0
4 years ago
1.3.0
5 years ago
1.2.2
5 years ago
1.2.1
5 years ago
1.2.0
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.1
6 years ago
1.0.0
6 years ago
0.7.0
6 years ago
0.6.0
6 years ago
0.5.0
6 years ago
0.4.2
6 years ago
0.4.1
6 years ago
0.4.0
6 years ago
0.3.1
6 years ago
0.3.0
6 years ago
0.2.1
6 years ago
0.2.0
6 years ago
0.1.0
6 years ago
©