Automattic / Automattic/expect.js

General query - what are common test assertions used?

Open
#160 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.1k
Forks
207
PR merge metrics
No merged PRs in 30d

Description

Hi Guillermo and guys, may I check from you what are common assertions that you use in your test automation? Eg check that element contains text, check element exists etc. Crowdsourcing inputs on test assertions for a personal project. This is not an issue, please feel free to close if irrelevant.

In that project I made a wrapper around CasperJS but as CasperJS has no support for visible / headless Chrome, test assertions won't work. Working to address that, for some basic range of assertion scenarios to work with Chrome. Thanks in advance for any advice!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.