Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 757
Roadmap
Michael Bodnarchuk edited this page Nov 5, 2024
·
27 revisions
- Healers
- Refactored AI
- Prepare for ESM, to allow importing CJS modules
- Add named exports for all globals:
const{ debug, pause }=require('codeceptjs/debug');const{ inject, share, actor }=require('codeceptjs/container');const{ locate, secret, tryTo, retryTo, hopeThat, step, session, within }=require('codeceptjs/fns');const{eachElement: $, expectElement, expectElements }=require('codeceptjs/els');const{ Given, When, Then }=require('codeceptjs/bdd');- Add
elsmodule to work on Playwright / webdriverio elements in a native way
const{ expectElement }=require('codeceptjs/els');// perform assertionexpectElement('.item',el=>el.isVisible());- Add
hopeToplugin for soft-assertion
hopeThat(()=>I.see('asdsa'));hopeThat(()=>I.dontSee('asdsad'))- Remove
SoftExpectHelper - Add ai-auto-suggestions when in
pause()mode - ❓ Add
editWithCopilot()function which is a pause that can update the test file
- Disable promise chain globally or per test
- Migrate to ESM
Explicitly import helpers:
// codecept.conf.jsimport{Playwright}from'codeceptjs/helpers'importExpectHelperfrom'@codeceptjs/expect-helper'config={helpers: {Playwright: {},ExpectHelper: {// maybe config here}}}Explicitly use all global functions in tests:
import{debug,pause}from'codeceptjs/debug';import{inject,share,actor}from'codeceptjs/container';import{locate,secret,tryTo,retryTo,hopeThat,step,session,within}from'codeceptjs/fns';import{eachElementas$,expectElement,expectElements}from'codeceptjs/els';import{Given,When,Then}from'codeceptjs/bdd';- State management (similar to fixtures in Playwright)