Closed avozicov closed 6 years ago
Please follow the provided steps to reproduce the issue:
npm install -g recink
mkdir ~/test
cd ~/test
mkdir scripts
qa-test.e2e.js
recink configure recink
.recink.yml
.recink.yml example:
--- $: npm: dependencies: chai: 'latest' emit: # Files to include pattern: - /.+\.js$/i # Files to exclude ignore: - /^(.*\/)?node_modules(\/?$)?/i e2e: reporter: ~ pattern: - /.+\.e2e\.js$/i ignore: ~ screenshot: enabled: false path: 'path/to/screenshots' take-on-fail: false browsers: - chrome e2e: root: './scripts/'
e2e script example from lovely TestCafe framework ;)
import { Selector } from 'testcafe'; fixture `My fixture` .page `http://devexpress.github.io/testcafe/example/`; test('Assertion with Selector', async t => { const developerNameInput = Selector('#developer-name'); await t .expect(developerNameInput.innerText).eql('') .typeText(developerNameInput, 'Peter') .expect(developerNameInput.innerText).eql('Peter'); });
Issue:
recink run e2e
reporter:~
Please refer to attachment for more details:
Test Passed
To test just be sure to uncomment e2e section and add e2e root with valid test script in .recink.yml ;)
e2e section
e2e root
Checked.
Please follow the provided steps to reproduce the issue:
npm install -g recink
mkdir ~/test
cd ~/test
mkdir scripts
qa-test.e2e.js
and place it in scripts directoryrecink configure recink
to generate basic .recink.yml template.recink.yml
and define root for e2e module.recink.yml example:
e2e script example from lovely TestCafe framework ;)
Issue:
recink run e2e
command with uncommentedreporter:~
option all e2e scripts are skipped and not executedPlease refer to attachment for more details: