Separate tests in skeleton test

This commit is contained in:
Marie Malarme 2021-03-02 20:45:57 +00:00 committed by Clément
parent dd278fc445
commit 260b964cf4
1 changed files with 2 additions and 0 deletions

View File

@ -8,7 +8,9 @@ tests.push(async ({ page, eq }) => {
)
const isValidTitle = title !== undefined && title.length !== 0
eq(isValidTitle, true)
})
tests.push(async ({ page, eq }) => {
// check the 3 sections have been created with the correct text
const elements = await page.$$eval('body', (nodes) =>
[...nodes[0].children].map((node) => ({