The Wayback Machine - https://web.archive.org/web/20220204175823/https://github.com/codeceptjs/CodeceptJS/pull/2361
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added userHelperTo to expose engine API into a test #2361

Merged
merged 2 commits into from May 5, 2020

Conversation

@DavertMik
Copy link
Contributor

@DavertMik DavertMik commented Apr 24, 2020

Expose helper API into a test

I.usePlaywrightTo('mock request', async ({ page }) => {
  await page.route();
})

Applicable helpers:

  • WebDriver
  • Puppeteer
  • Nightmare
  • REST
  • FileHelper
  • Appium
  • Protractor
  • TestCafe
  • Playwright

Applicable plugins:

  • allure
  • autoDelay
  • autoLogin
  • customLocator
  • pauseOnFail
  • puppeteerCoverage
  • retryFailedStep
  • screenshotOnFail
  • selenoid
  • stepByStepReport
  • wdio

Type of change

  • 🔥 Breaking changes
  • 🚀 New functionality
  • 🐛 Bug fix
  • 📋 Documentation changes/updates
  • ♨️ Hot fix
  • 🔨 Markdown files fix - not related to source code
  • 💅 Polish code

Checklist:

  • Tests have been added
  • Documentation has been added (Run npm run docs)
  • Lint checking (Run npm run lint)
  • Local tests are passed (Run npm test)
@github-actions
Copy link

@github-actions github-actions bot commented May 5, 2020

🌀 Tests overview by Testomatio

Found 870 mocha tests in 75 files

✔️ Added 6 tests

+ Playwright: #usePlaywrightTo: should return title
+ Protractor: #useProtractorTo: should return title
+ Puppeteer: #saveDownload: should dowload file
+ Puppeteer: #usePuppeteerTo: should return title
+ TestCafe: #useTestCafeTo: should return title
+ WebDriver: #useWebDriverTo: should return title

🗑︄1¤7 Removed 1 test

- Puppeteer: #handleDownloads: should dowload file
⚠️ List all skipped test (1)
📎 List all suites (63)

@DavertMik DavertMik merged commit a5d405d into codeceptjs-v3.0 May 5, 2020
5 of 8 checks passed
@DavertMik DavertMik deleted the use-helper-to branch May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants