Automated tests Testcafe reporter内部脚本

Automated tests Testcafe reporter内部脚本,automated-tests,reporting,e2e-testing,web-testing,testcafe,Automated Tests,Reporting,E2e Testing,Web Testing,Testcafe,是否可以将报告器添加到TestCafe js文件? 常用的用法是: testcafe chrome 'path/to/test/file.js' --reporter allure 但是也可以将其添加到脚本本身吗?我的剧本里有 import { Selector } from 'testcafe'; fixture `Ordner erstellen` .page `https://bc3-channel.cliplister.com/`; //It is absolutely n

是否可以将报告器添加到TestCafe js文件? 常用的用法是:

testcafe chrome 'path/to/test/file.js' --reporter allure
但是也可以将其添加到脚本本身吗?我的剧本里有

import { Selector } from 'testcafe';

fixture `Ordner erstellen`
    .page `https://bc3-channel.cliplister.com/`;

//It is absolutely necessary that the names are completely unique for finding elements.


test('Create and Delete Folder', async t => {
   .click(Selector('span').withText('Login'))
});
是否可以在脚本中添加一个部分?

是的,您可以为此使用及其

但是,我不确定您要添加什么“部分”。请澄清这一点