24af5ad0dd
refs https://github.com/TryGhost/Team/issues/1780 This commit adds some Cypress tests as a POC to the project. If we decide to go with Cypress, we can add more tests to cover the rest of the codebase. The main reason to have a E2E framework is that some editor related UI is hard to test with the React tests because it uses JSDOM.
15 lines
937 B
XML
15 lines
937 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<testsuites name="Mocha Tests" time="2.6730" tests="4" failures="0">
|
|
<testsuite name="Root Suite" timestamp="2022-09-09T15:27:21" tests="0" file="cypress/e2e/pagination.cy.js" time="0.0000" failures="0">
|
|
</testsuite>
|
|
<testsuite name="Pagination" timestamp="2022-09-09T15:27:21" tests="4" time="2.6730" failures="0">
|
|
<testcase name="Pagination does not show pagination button for 0 comments" time="0.7780" classname="does not show pagination button for 0 comments">
|
|
</testcase>
|
|
<testcase name="Pagination does show pagination plural" time="0.6270" classname="does show pagination plural">
|
|
</testcase>
|
|
<testcase name="Pagination does show pagination singular" time="0.5910" classname="does show pagination singular">
|
|
</testcase>
|
|
<testcase name="Pagination can load next page" time="0.6770" classname="can load next page">
|
|
</testcase>
|
|
</testsuite>
|
|
</testsuites> |